コード例 #1
0
ファイル: factory.cpp プロジェクト: z80/IPM
::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
0
ファイル: client.cpp プロジェクト: zzilla/robocam
::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
0
::IceInternal::DispatchStatus
ICSSW::Component::___getName(::IceInternal::Incoming&__inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __os = __inS.os();
    ::std::string __ret = getName(__current);
    __os->write(__ret);
    return ::IceInternal::DispatchOK;
}
コード例 #4
0
::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;
}
コード例 #5
0
::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;
}
コード例 #6
0
ファイル: TimeInfo.cpp プロジェクト: mvxi/icetest
::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;
}
コード例 #7
0
ファイル: TimeInfo.cpp プロジェクト: mvxi/icetest
::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;
}
コード例 #8
0
ファイル: pingreply.cpp プロジェクト: mjs513/orca-robotics
::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;
}
コード例 #9
0
ファイル: factory.cpp プロジェクト: z80/IPM
::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;
}
コード例 #10
0
ファイル: BHACO.cpp プロジェクト: updowndown/myffff
::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;
}
コード例 #11
0
ファイル: iMesLink.cpp プロジェクト: marylucey97/SyAutoH
::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;
}
コード例 #12
0
ファイル: loggerctrl.cpp プロジェクト: hamletg/dbg_log
::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;
}
コード例 #13
0
ファイル: miscService.cpp プロジェクト: xiaoyu-real/Test
::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;
}
コード例 #14
0
ファイル: factory.cpp プロジェクト: z80/IPM
::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;
}
コード例 #15
0
ファイル: test.cpp プロジェクト: mvxi/icetest
::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;
}
コード例 #16
0
ファイル: demo.cpp プロジェクト: xly931/demo
::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;
}
コード例 #17
0
ファイル: DistributedMap.cpp プロジェクト: azybler/Yahoo_LDA
::Ice::DispatchStatus
GlobalTable::DistributedMap::___get(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    __is->startReadEncaps();
    ::std::string s;
    __is->read(s);
    __is->endReadEncaps();
    ::IceInternal::BasicStream* __os = __inS.os();
    ::std::string counts;
    bool __ret = get(s, counts, __current);
    __os->write(counts);
    __os->write(__ret);
    return ::Ice::DispatchOK;
}
コード例 #18
0
ファイル: TimeInfo.cpp プロジェクト: mvxi/icetest
::Ice::DispatchStatus
Temp::TimeInfo::___getServerInfos(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    __inS.is()->skipEmptyEncaps();
    ::IceInternal::BasicStream* __os = __inS.os();
    ::Temp::Infos __ret = getServerInfos(__current);
    if(__ret.size() == 0)
    {
        __os->writeSize(0);
    }
    else
    {
        __os->write(&__ret[0], &__ret[0] + __ret.size());
    }
    return ::Ice::DispatchOK;
}
コード例 #19
0
ファイル: miscService.cpp プロジェクト: xiaoyu-real/Test
::Ice::DispatchStatus
com::renren::sixin::account::MiscService::___setOriginalAppId(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    __is->startReadEncaps();
    ::std::string alias;
    ::Ice::Int originalAppId;
    __is->read(alias);
    __is->read(originalAppId);
    __is->endReadEncaps();
    ::IceInternal::BasicStream* __os = __inS.os();
    ::com::renren::sixin::account::BaseResultPtr __ret = setOriginalAppId(alias, originalAppId, __current);
    __os->write(::Ice::ObjectPtr(::IceInternal::upCast(__ret.get())));
    __os->writePendingObjects();
    return ::Ice::DispatchOK;
}
コード例 #20
0
ファイル: iMesLink.cpp プロジェクト: marylucey97/SyAutoH
::Ice::DispatchStatus
MCS::MESLink::___PickFoup(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Idempotent, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    __is->startReadEncaps();
    ::Ice::Int foupBarCode;
    ::Ice::Int DevID;
    ::Ice::Int nLocType;
    __is->read(foupBarCode);
    __is->read(DevID);
    __is->read(nLocType);
    __is->endReadEncaps();
    ::IceInternal::BasicStream* __os = __inS.os();
    ::Ice::Int __ret = PickFoup(foupBarCode, DevID, nLocType, __current);
    __os->write(__ret);
    return ::Ice::DispatchOK;
}
コード例 #21
0
ファイル: Transfer.cpp プロジェクト: kyhhdm/TPlatform
::IceInternal::DispatchStatus
tfs::slice::Transfer::___rollback(::IceInternal::Incoming&__inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    ::IceInternal::BasicStream* __os = __inS.os();
    ::Ice::Long opid;
    __is->read(opid);
    try
    {
        rollback(opid, __current);
    }
    catch(const ::tfs::slice::ErrorBase& __ex)
    {
        __os->write(__ex);
        return ::IceInternal::DispatchUserException;
    }
    return ::IceInternal::DispatchOK;
}
コード例 #22
0
ファイル: Transfer.cpp プロジェクト: kyhhdm/TPlatform
::IceInternal::DispatchStatus
tfs::slice::Transfer::___getLocalPath(::IceInternal::Incoming&__inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    ::IceInternal::BasicStream* __os = __inS.os();
    ::Ice::Long chunkid;
    __is->read(chunkid);
    try
    {
        ::std::string __ret = getLocalPath(chunkid, __current);
        __os->write(__ret);
    }
    catch(const ::tfs::slice::ChunkError& __ex)
    {
        __os->write(__ex);
        return ::IceInternal::DispatchUserException;
    }
    return ::IceInternal::DispatchOK;
}
コード例 #23
0
ファイル: Transfer.cpp プロジェクト: kyhhdm/TPlatform
::IceInternal::DispatchStatus
tfs::slice::Transfer::___write(::IceInternal::Incoming&__inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    ::IceInternal::BasicStream* __os = __inS.os();
    ::Ice::Long chunkid;
    ::tfs::slice::ByteSeq bytes;
    ::Ice::Int offset;
    ::Ice::Int len;
    __is->read(chunkid);
    ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*> ___bytes;
    __is->read(___bytes);
    ::std::vector< ::Ice::Byte>(___bytes.first, ___bytes.second).swap(bytes);
    __is->read(offset);
    __is->read(len);
    try
    {
        ::Ice::Int __ret = write(chunkid, bytes, offset, len, __current);
        __os->write(__ret);
    }
    catch(const ::tfs::slice::ChunkError& __ex)
    {
        __os->write(__ex);
        return ::IceInternal::DispatchUserException;
    }
    catch(const ::tfs::slice::ChunkNotExist& __ex)
    {
        __os->write(__ex);
        return ::IceInternal::DispatchUserException;
    }
    catch(const ::tfs::slice::DataError& __ex)
    {
        __os->write(__ex);
        return ::IceInternal::DispatchUserException;
    }
    return ::IceInternal::DispatchOK;
}
コード例 #24
0
ファイル: Transfer.cpp プロジェクト: kyhhdm/TPlatform
::IceInternal::DispatchStatus
tfs::slice::Transfer::___read(::IceInternal::Incoming&__inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    ::IceInternal::BasicStream* __os = __inS.os();
    ::Ice::Long chunkid;
    ::Ice::Int offset;
    ::Ice::Int len;
    __is->read(chunkid);
    __is->read(offset);
    __is->read(len);
    try
    {
        ::tfs::slice::ByteSeq __ret = read(chunkid, offset, len, __current);
        if(__ret.size() == 0)
        {
            __os->writeSize(0);
        }
        else
        {
            __os->write(&__ret[0], &__ret[0] + __ret.size());
        }
    }
    catch(const ::tfs::slice::ChunkError& __ex)
    {
        __os->write(__ex);
        return ::IceInternal::DispatchUserException;
    }
    catch(const ::tfs::slice::ChunkNotExist& __ex)
    {
        __os->write(__ex);
        return ::IceInternal::DispatchUserException;
    }
    return ::IceInternal::DispatchOK;
}