本文整理汇总了C++中iceinternal::Incoming::is方法的典型用法代码示例。如果您正苦于以下问题:C++ Incoming::is方法的具体用法?C++ Incoming::is怎么用?C++ Incoming::is使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类iceinternal::Incoming
的用法示例。
在下文中一共展示了Incoming::is方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: catch
::Ice::DispatchStatus
GlobalTable::DistributedMap::___putNget(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
__is->startReadEncaps();
::std::string s;
::std::string delta;
__is->read(s);
__is->read(delta);
__is->endReadEncaps();
::GlobalTable::AMD_DistributedMap_putNgetPtr __cb = new IceAsync::GlobalTable::AMD_DistributedMap_putNget(__inS);
try
{
putNget_async(__cb, s, delta, __current);
}
catch(const ::std::exception& __ex)
{
__cb->ice_exception(__ex);
}
catch(...)
{
__cb->ice_exception();
}
return ::Ice::DispatchAsync;
}
示例2: catch
::Ice::DispatchStatus
HSFoward::HSBnsProc::___amdfun(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
__is->startReadEncaps();
::Ice::Int num;
::std::string str;
__is->read(num);
__is->read(str);
__is->endReadEncaps();
::HSFoward::AMD_HSBnsProc_amdfunPtr __cb = new IceAsync::HSFoward::AMD_HSBnsProc_amdfun(__inS);
try
{
amdfun_async(__cb, num, str, __current);
}
catch(const ::std::exception& __ex)
{
__cb->ice_exception(__ex);
}
catch(...)
{
__cb->ice_exception();
}
return ::Ice::DispatchAsync;
}
示例3: reloadConfig
::Ice::DispatchStatus
RoboCompCommonBehavior::CommonBehavior::___reloadConfig(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
__inS.is()->skipEmptyEncaps();
reloadConfig(__current);
return ::Ice::DispatchOK;
}
示例4: reset
::Ice::DispatchStatus
jderobot::Quadrotor::___reset(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
__inS.is()->skipEmptyEncaps();
reset(__current);
return ::Ice::DispatchOK;
}
示例5: shutdown
::Ice::DispatchStatus
Demo::Printer::___shutdown(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
__inS.is()->skipEmptyEncaps();
shutdown(__current);
return ::Ice::DispatchOK;
}
示例6: sayHello
::Ice::DispatchStatus
Demo::Hello::___sayHello(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Idempotent, __current.mode);
__inS.is()->skipEmptyEncaps();
sayHello(__current);
return ::Ice::DispatchOK;
}
示例7: getState
::Ice::DispatchStatus
RoboCompCommonBehavior::CommonBehavior::___getState(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
__inS.is()->skipEmptyEncaps();
::IceInternal::BasicStream* __os = __inS.os();
::RoboCompCommonBehavior::State __ret = getState(__current);
::RoboCompCommonBehavior::__write(__os, __ret);
return ::Ice::DispatchOK;
}
示例8: timeAwake
::Ice::DispatchStatus
RoboCompCommonBehavior::CommonBehavior::___timeAwake(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Idempotent, __current.mode);
__inS.is()->skipEmptyEncaps();
::IceInternal::BasicStream* __os = __inS.os();
::Ice::Int __ret = timeAwake(__current);
__os->write(__ret);
return ::Ice::DispatchOK;
}
示例9: sayHello
::IceInternal::DispatchStatus
BHAco::Request::___sayHello(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) const
{
__checkMode(::Ice::Idempotent, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
::Ice::Int delay;
__is->read(delay);
sayHello(delay, __current);
return ::IceInternal::DispatchOK;
}
示例10: getTimeInfo
::Ice::DispatchStatus
Temp::TimeInfo::___getTimeInfo(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
__inS.is()->skipEmptyEncaps();
::IceInternal::BasicStream* __os = __inS.os();
::Temp::TimeInfoPrx __ret = getTimeInfo(__current);
__os->write(::Ice::ObjectPrx(::IceInternal::upCast(__ret.get())));
return ::Ice::DispatchOK;
}
示例11: setPinger
::IceInternal::DispatchStatus
orca::util::LatencyReplier::___setPinger(::IceInternal::Incoming&__inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Idempotent, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
::orca::util::LatencyPingerPrx server;
::orca::util::__read(__is, server);
setPinger(server, __current);
return ::IceInternal::DispatchOK;
}
示例12: acceptPeriod
::Ice::DispatchStatus
Client::CCam::___acceptPeriod(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
::Ice::Double value;
__is->read(value);
acceptPeriod(value, __current);
return ::Ice::DispatchOK;
}
示例13: acceptMessage
::Ice::DispatchStatus
Client::CChat::___acceptMessage(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
::std::string stri;
__is->read(stri);
acceptMessage(stri, __current);
return ::Ice::DispatchOK;
}
示例14: acceptServoEn
::Ice::DispatchStatus
Client::CMoto::___acceptServoEn(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
bool en;
__is->read(en);
acceptServoEn(en, __current);
return ::Ice::DispatchOK;
}
示例15: takeItBack
::IceInternal::DispatchStatus
orca::util::LatencyPinger::___takeItBack(::IceInternal::Incoming&__inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
::orca::util::PingReplyData data;
data.__read(__is);
takeItBack(data, __current);
return ::IceInternal::DispatchOK;
}