예제 #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;
}
::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;
}
::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
::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
::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
::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
::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
::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
::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
::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
::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
::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
::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
::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;
}