Poco::RemotingNG

class ProxyFactoryManager

Library: RemotingNG
Package: ORB
Header: Poco/RemotingNG/ProxyFactoryManager.h

Description

A ProxyFactoryManager manages all existing ProxyFactory objects in the system.

Member Summary

Member Functions: createProxy, registerProxyFactory, unregisterProxyFactory

Constructors

ProxyFactoryManager

ProxyFactoryManager();

Creates a ProxyFactoryManager.

Destructor

~ProxyFactoryManager

~ProxyFactoryManager();

Destroys the ProxyFactoryManager.

Member Functions

createProxy

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.

createProxy

Proxy * createProxy(
    const Identifiable::TypeId & tid,
    const RemotingNG::Identifiable::ObjectId & oid
) const;

Creates an unconnected Proxy for the given TypeId and ObjectId.

registerProxyFactory

void registerProxyFactory(
    const Identifiable::TypeId & tid,
    ProxyFactory::Ptr pProxyFactory
);

Registers a ProxyFactory under the given TypeId if no factory exists yet.

unregisterProxyFactory

void unregisterProxyFactory(
    const Identifiable::TypeId & tid
);

Unregisters the ProxyFactory for the given TypeId if one exists.

Securely control IoT edge devices from anywhere   Connect a Device