Library: Remoting
Package: Remoting
Header: Poco/Remoting/Proxy.h
Base class that all proxies must extend. Used to access an object not running in the same address space. The remoting__ prefix for the Proxy methods is used to avoid nameclashes with method names that RemoteObjects offer.
Direct Base Classes: Identifiable
All Base Classes: Poco::RefCountedObject, Identifiable
Member Functions: remoting__connect, remoting__disconnect, remoting__isConnected, remoting__mutex, remoting__transport
Inherited Functions: duplicate, referenceCount, release, remoting__getObjectId, remoting__getTypeId, remoting__setObjectId
Proxy(
const Poco::Remoting::Identifiable::ObjectId & oid
);
Creates the Proxy.
virtual ~Proxy();
Destroys the Proxy.
void remoting__connect(
const std::string & protocol,
const std::string & endPoint
);
Connects the endpoint if it is not yet connected
void remoting__disconnect();
Disconnects the endpoint.
bool remoting__isConnected() const;
Returns the connection status.
Transport & remoting__transport() const;
Returns the transport, throws an exception if the object is not connected!
Poco::FastMutex & remoting__mutex() const;