Beispiel #1
0
::std::string
IceDelegateD::tfs::slice::Transfer::getLocalPath(::Ice::Long chunkid, const ::Ice::Context& __context)
{
    ::Ice::Current __current;
    __initCurrent(__current, __tfs__slice__Transfer__getLocalPath_name, ::Ice::Normal, __context);
    while(true)
    {
        ::IceInternal::Direct __direct(__current);
        ::tfs::slice::Transfer* __servant = dynamic_cast< ::tfs::slice::Transfer*>(__direct.servant().get());
        if(!__servant)
        {
            ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__);
            __opEx.id = __current.id;
            __opEx.facet = __current.facet;
            __opEx.operation = __current.operation;
            throw __opEx;
        }
        try
        {
            return __servant->getLocalPath(chunkid, __current);
        }
        catch(const ::Ice::LocalException& __ex)
        {
            throw ::IceInternal::LocalExceptionWrapper(__ex, false);
        }
    }
}
Beispiel #2
0
::orca::util::PingReplyData
IceDelegateD::orca::util::LatencyReplier::takeItAndReturn(const ::orca::util::PingReplyData& data, const ::Ice::Context* __context)
{
    ::Ice::Current __current;
    __initCurrent(__current, __orca__util__LatencyReplier__takeItAndReturn_name, ::Ice::Normal, __context);
    while(true)
    {
        ::IceInternal::Direct __direct(__current);
        ::orca::util::PingReplyData __ret;
        try
        {
            ::orca::util::LatencyReplier* __servant = dynamic_cast< ::orca::util::LatencyReplier*>(__direct.servant().get());
            if(!__servant)
            {
                ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__);
                __opEx.id = __current.id;
                __opEx.facet = __current.facet;
                __opEx.operation = __current.operation;
                throw __opEx;
            }
            try
            {
                __ret = __servant->takeItAndReturn(data, __current);
            }
            catch(const ::Ice::LocalException& __ex)
            {
                throw ::IceInternal::LocalExceptionWrapper(__ex, false);
            }
        }
        catch(...)
        {
            __direct.destroy();
            throw;
        }
        __direct.destroy();
        return __ret;
    }
}
Beispiel #3
0
::std::string
IceDelegateD::ICSSW::Component::getName(const ::Ice::Context* __context)
{
    ::Ice::Current __current;
    __initCurrent(__current, __ICSSW__Component__getName_name, ::Ice::Normal, __context);
    while(true)
    {
        ::IceInternal::Direct __direct(__current);
        ::std::string __ret;
        try
        {
            ::ICSSW::Component* __servant = dynamic_cast< ::ICSSW::Component*>(__direct.servant().get());
            if(!__servant)
            {
                ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__);
                __opEx.id = __current.id;
                __opEx.facet = __current.facet;
                __opEx.operation = __current.operation;
                throw __opEx;
            }
            try
            {
                __ret = __servant->getName(__current);
            }
            catch(const ::Ice::LocalException& __ex)
            {
                throw ::IceInternal::LocalExceptionWrapper(__ex, false);
            }
        }
        catch(...)
        {
            __direct.destroy();
            throw;
        }
        __direct.destroy();
        return __ret;
    }
}
Beispiel #4
0
::BHAco::SDataPacket
IceDelegateD::BHAco::Request::RequestData(const ::BHAco::SDataPacket& dp, const ::Ice::Context* __context)
{
    ::Ice::Current __current;
    __initCurrent(__current, __BHAco__Request__RequestData_name, ::Ice::Normal, __context);
    while(true)
    {
        ::IceInternal::Direct __direct(__current);
        ::BHAco::SDataPacket __ret;
        try
        {
            ::BHAco::Request* __servant = dynamic_cast< ::BHAco::Request*>(__direct.servant().get());
            if(!__servant)
            {
                ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__);
                __opEx.id = __current.id;
                __opEx.facet = __current.facet;
                __opEx.operation = __current.operation;
                throw __opEx;
            }
            try
            {
                __ret = __servant->RequestData(dp, __current);
            }
            catch(const ::Ice::LocalException& __ex)
            {
                throw ::IceInternal::LocalExceptionWrapper(__ex, false);
            }
        }
        catch(...)
        {
            __direct.destroy();
            throw;
        }
        __direct.destroy();
        return __ret;
    }
}
Beispiel #5
0
void
IceDelegateD::orca::util::LatencyReplier::setPinger(const ::orca::util::LatencyPingerPrx& server, const ::Ice::Context* __context)
{
    ::Ice::Current __current;
    __initCurrent(__current, __orca__util__LatencyReplier__setPinger_name, ::Ice::Idempotent, __context);
    while(true)
    {
        ::IceInternal::Direct __direct(__current);
        try
        {
            ::orca::util::LatencyReplier* __servant = dynamic_cast< ::orca::util::LatencyReplier*>(__direct.servant().get());
            if(!__servant)
            {
                ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__);
                __opEx.id = __current.id;
                __opEx.facet = __current.facet;
                __opEx.operation = __current.operation;
                throw __opEx;
            }
            try
            {
                __servant->setPinger(server, __current);
            }
            catch(const ::Ice::LocalException& __ex)
            {
                throw ::IceInternal::LocalExceptionWrapper(__ex, false);
            }
        }
        catch(...)
        {
            __direct.destroy();
            throw;
        }
        __direct.destroy();
        return;
    }
}
Beispiel #6
0
void
IceDelegateD::ICSSW::Notifier::notify(const ::ICSSW::Event& ev, const ::Ice::Context* __context)
{
    ::Ice::Current __current;
    __initCurrent(__current, __ICSSW__Notifier__notify_name, ::Ice::Normal, __context);
    while(true)
    {
        ::IceInternal::Direct __direct(__current);
        try
        {
            ::ICSSW::Notifier* __servant = dynamic_cast< ::ICSSW::Notifier*>(__direct.servant().get());
            if(!__servant)
            {
                ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__);
                __opEx.id = __current.id;
                __opEx.facet = __current.facet;
                __opEx.operation = __current.operation;
                throw __opEx;
            }
            try
            {
                __servant->notify(ev, __current);
            }
            catch(const ::Ice::LocalException& __ex)
            {
                throw ::IceInternal::LocalExceptionWrapper(__ex, false);
            }
        }
        catch(...)
        {
            __direct.destroy();
            throw;
        }
        __direct.destroy();
        return;
    }
}
Beispiel #7
0
void
IceDelegateD::BHAco::Request::sayHello(::Ice::Int delay, const ::Ice::Context* __context)
{
    ::Ice::Current __current;
    __initCurrent(__current, __BHAco__Request__sayHello_name, ::Ice::Idempotent, __context);
    while(true)
    {
        ::IceInternal::Direct __direct(__current);
        try
        {
            ::BHAco::Request* __servant = dynamic_cast< ::BHAco::Request*>(__direct.servant().get());
            if(!__servant)
            {
                ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__);
                __opEx.id = __current.id;
                __opEx.facet = __current.facet;
                __opEx.operation = __current.operation;
                throw __opEx;
            }
            try
            {
                __servant->sayHello(delay, __current);
            }
            catch(const ::Ice::LocalException& __ex)
            {
                throw ::IceInternal::LocalExceptionWrapper(__ex, false);
            }
        }
        catch(...)
        {
            __direct.destroy();
            throw;
        }
        __direct.destroy();
        return;
    }
}