Library: RemotingNG
Package: ORB
Header: Poco/RemotingNG/MethodHandler.h
A MethodHandler deserializes and forwards a remote call to the service object, via the RemoteObject.
MethodHandler classes are generated by the RemotingNG code generator, together with the Skeleton class, which manages them.
Direct Base Classes: Poco::RefCountedObject
All Base Classes: Poco::RefCountedObject
Member Functions: invoke
Inherited Functions: duplicate, referenceCount, release
typedef Poco::AutoPtr < MethodHandler > Ptr;
Creates a MethodHandler.
virtual ~MethodHandler();
Destroys the MethodHandler.
virtual void invoke(
ServerTransport & transport,
Deserializer & deserializer,
RemoteObject::Ptr pRemoteObject
) = 0;
Deserializes the incoming request using the given Deserializer and invokes the corresponding method on the service object, via the RemoteObject.
After the invocation, serializes the return value and output parameters (or exception) of the method using the ServerTransport's Serializer.