Library: RemotingNG
Package: ORB
Header: Poco/RemotingNG/RemoteObject.h
A RemoteObject forwards method calls to the local service object.
For every service object, the RemotingNG code generator generates a RemoteObject that is a subclass of the service object's interface class.
Direct Base Classes: Identifiable
All Base Classes: Poco::RefCountedObject, Identifiable
Member Functions: mutex, remoting__hasEvents, remoting__registerEvents, remoting__unregisterEvents
Inherited Functions: duplicate, referenceCount, release, remoting__getURI, remoting__objectId, remoting__setURI, remoting__typeId
typedef Poco::AutoPtr < RemoteObject > Ptr;
RemoteObject(
const Poco::RemotingNG::Identifiable::ObjectId & oid
);
Creates a RemoteObject.
virtual ~RemoteObject();
Destroys the RemoteObject.
virtual bool remoting__hasEvents() const;
Returns true if the service object has events, false otherwise. Must be overridden by subclasses. The default implementation always returns false.
virtual void remoting__registerEvents(
EventListener & listener
);
Register events at the given EventListener and store a pointer to the EventListener object (_pEventListener).
virtual void remoting__unregisterEvents(
EventListener & listener
);
Unregister events.
Poco::FastMutex & mutex() const;
EventListener * _pEventListener;