本文整理汇总了C++中iceinternal::Incoming::os方法的典型用法代码示例。如果您正苦于以下问题:C++ Incoming::os方法的具体用法?C++ Incoming::os怎么用?C++ Incoming::os使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类iceinternal::Incoming
的用法示例。
在下文中一共展示了Incoming::os方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: status
::Ice::DispatchStatus
Factory::Device::___status(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __os = __inS.os();
::std::string __ret = status(__current);
__os->write(__ret);
return ::Ice::DispatchOK;
}
示例2: cam
::Ice::DispatchStatus
Client::CClient::___cam(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __os = __inS.os();
::Client::CCamPrx __ret = cam(__current);
__os->write(::Ice::ObjectPrx(::IceInternal::upCast(__ret.get())));
return ::Ice::DispatchOK;
}
示例3: 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;
}
示例4: 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;
}
示例5: getServerInfo
::Ice::DispatchStatus
Temp::TimeInfo::___getServerInfo(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
__inS.is()->skipEmptyEncaps();
::IceInternal::BasicStream* __os = __inS.os();
::std::string __ret = getServerInfo(__current);
__os->write(__ret);
return ::Ice::DispatchOK;
}
示例6: 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;
}
示例7: takeItAndReturn
::IceInternal::DispatchStatus
orca::util::LatencyReplier::___takeItAndReturn(::IceInternal::Incoming&__inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
::IceInternal::BasicStream* __os = __inS.os();
::orca::util::PingReplyData data;
data.__read(__is);
::orca::util::PingReplyData __ret = takeItAndReturn(data, __current);
__ret.__write(__os);
return ::IceInternal::DispatchOK;
}
示例8: query
::Ice::DispatchStatus
Factory::DeviceFactory::___query(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
::std::string interfaceName;
__is->read(interfaceName);
::IceInternal::BasicStream* __os = __inS.os();
::Factory::DevicePrx __ret = query(interfaceName, __current);
__os->write(::Ice::ObjectPrx(::IceInternal::upCast(__ret.get())));
return ::Ice::DispatchOK;
}
示例9: RequestData
::IceInternal::DispatchStatus
BHAco::Request::___RequestData(::IceInternal::Incoming&__inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
::IceInternal::BasicStream* __os = __inS.os();
::BHAco::SDataPacket dp;
dp.__read(__is);
::BHAco::SDataPacket __ret = RequestData(dp, __current);
__ret.__write(__os);
return ::IceInternal::DispatchOK;
}
示例10: GetFoup
::Ice::DispatchStatus
MCS::MESLink::___GetFoup(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Idempotent, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
__is->startReadEncaps();
::Ice::Int foupBarCode;
__is->read(foupBarCode);
__is->endReadEncaps();
::IceInternal::BasicStream* __os = __inS.os();
::MCS::LocFoup __ret = GetFoup(foupBarCode, __current);
__ret.__write(__os);
return ::Ice::DispatchOK;
}
示例11: Register
::Ice::DispatchStatus
loggerice::loggerctrl::___Register(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
__is->startReadEncaps();
::std::string name;
__is->read(name);
__is->endReadEncaps();
::IceInternal::BasicStream* __os = __inS.os();
::Ice::Int __ret = Register(name, __current);
__os->write(__ret);
return ::Ice::DispatchOK;
}
示例12: getAppVersion
::Ice::DispatchStatus
com::renren::sixin::account::MiscService::___getAppVersion(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
__is->startReadEncaps();
::Ice::Long userId;
__is->read(userId);
__is->endReadEncaps();
::IceInternal::BasicStream* __os = __inS.os();
::com::renren::sixin::account::VersionResultPtr __ret = getAppVersion(userId, __current);
__os->write(::Ice::ObjectPtr(::IceInternal::upCast(__ret.get())));
__os->writePendingObjects();
return ::Ice::DispatchOK;
}
示例13: interfaces
::Ice::DispatchStatus
Factory::DeviceFactory::___interfaces(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Idempotent, __current.mode);
::IceInternal::BasicStream* __os = __inS.os();
::Factory::TStringArray __ret = interfaces(__current);
if(__ret.size() == 0)
{
__os->writeSize(0);
}
else
{
__os->write(&__ret[0], &__ret[0] + __ret.size());
}
return ::Ice::DispatchOK;
}
示例14: output
::Ice::DispatchStatus
level1::level2::test::___output(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
__is->startReadEncaps();
::level1::level2::cocoPtr c;
__is->read(::level1::level2::__patch__cocoPtr, &c);
__is->readPendingObjects();
__is->endReadEncaps();
::IceInternal::BasicStream* __os = __inS.os();
::level1::level2::viviPtr __ret = output(c, __current);
__os->write(::Ice::ObjectPtr(::IceInternal::upCast(__ret.get())));
__os->writePendingObjects();
return ::Ice::DispatchOK;
}
示例15: fun
::Ice::DispatchStatus
HSFoward::HSBnsProc::___fun(::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();
::IceInternal::BasicStream* __os = __inS.os();
::Ice::Int __ret = fun(num, str, __current);
__os->write(__ret);
return ::Ice::DispatchOK;
}