Poco::Remoting

class MethodHandler

Library: Remoting
Package: Remoting
Header: Poco/Remoting/MethodHandler.h

Description

A MethodHandler deserializes and forwards a remote call to the local object

Member Summary

Member Functions: invoke

Constructors

MethodHandler

MethodHandler();

Creates the MethodHandler.

Destructor

~MethodHandler virtual

virtual ~MethodHandler();

Destroys the MethodHandler.

Member Functions

invoke virtual

virtual void invoke(
    std::istream & in,
    std::ostream & out,
    Transport & transport,
    RemoteObject * localObject
) = 0;

Handles incoming request deserialization, forwarding the remote call to the local object and serializing the response/fault back to the caller.