File Information
Library: RemotingNG
Package: ORB
Header: Poco/RemotingNG/ClientHelper.h
Description
This class template provides a generic interface to the generated ClientHelper class. Actual members are defined by the specialization, which is generated using the REMOTING_SPECIALIZE_CLIENT_HELPER macro.
A specialization of ClientHelper looks like this:
template <>
class ClientHelper<SomeService>
{
public:
typedef SomeServiceClientHelper Helper;
typedef SomeService Service;
typedef Poco::SharedPtr<Service> ServicePtr;
typedef ISomeService Interface;
typedef Poco::AutoPtr<ISomeService> InterfacePtr;
typedef SomeServiceRemoteObject RemoteObject;
typedef Poco::AutoPtr<RemoteObject> RemoteObjectPtr;
static std::string registerObject(ServicePtr pServiceObject, const Poco::RemotingNG::Identifiable::ObjectId& oid, const std::string& listenerId);
static std::string registerObject(RemoteObjectPtr pRemoteObject, const std::string listenerId);
static void unregisterObject(const std::string& uri);
static RemoteObjectPtr createRemoteObject(const Poco::RemotingNG::Identifiable::ObjectId& oid, ServicePtr pService);
;