Library: RemotingNG
Package: ORB
Header: Poco/RemotingNG/ProxyFactoryManager.h
A ProxyFactoryManager manages all existing ProxyFactory objects in the system.
Member Functions: createProxy, registerProxyFactory, unregisterProxyFactory
Creates a ProxyFactoryManager.
Destroys the ProxyFactoryManager.
Proxy * createProxy(
const Identifiable::TypeId & tid,
const RemotingNG::Identifiable::ObjectId & oid,
const std::string & protocol,
const std::string & uri
) const;
Creates a Proxy for the given TypeId and ObjectId, and connects it to the endpoint specified by the given URI, using the Transport for the given protocol.
Proxy * createProxy(
const Identifiable::TypeId & tid,
const RemotingNG::Identifiable::ObjectId & oid
) const;
Creates an unconnected Proxy for the given TypeId and ObjectId.
void registerProxyFactory(
const Identifiable::TypeId & tid,
ProxyFactory::Ptr pProxyFactory
);
Registers a ProxyFactory under the given TypeId if no factory exists yet.
void unregisterProxyFactory(
const Identifiable::TypeId & tid
);
Unregisters the ProxyFactory for the given TypeId if one exists.