File Information
Library: RemotingNG
Package: ORB
Header: Poco/RemotingNG/MethodHandler.h
Description
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.
Inheritance
Direct Base Classes: Poco::RefCountedObject
All Base Classes: Poco::RefCountedObject
Member Summary
Member Functions: invoke
Inherited Functions: duplicate, referenceCount, release
Types Aliases
Ptr
using Ptr = Poco::AutoPtr < MethodHandler >;
Constructors
MethodHandler
Creates a MethodHandler.
Destructor
~MethodHandler
virtual ~MethodHandler();
Destroys the MethodHandler.
Member Functions
invoke
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.