#include <Pt/Remoting/Responder.h>
Dispatches requests to a service procedure.
Inherits NonCopyable.
Inherited by Responder, Responder, and Responder.
Public Member Functions | |
| Responder (ServiceDefinition &serviceDef) | |
| Construct with Service. | |
| virtual | ~Responder () |
| Destructor. | |
| void | cancel () |
| Resets to initial state. | |
| const ServiceProcedure * | activeProcedure () const |
| The currently executing procedure. | |
Protected Member Functions | |
| Pt::Composer ** | setProcedure (const std::string &name) |
| Sets the service procedure. | |
| void | beginCall (System::EventLoop &loop) |
| Begins the service procedure call. | |
| Pt::Decomposer * | endCall () |
| Ends the service procedure call. | |
| virtual void | onCancel ()=0 |
| Cancels all operations. More... | |
| virtual void | onReady ()=0 |
| The service procedure has finished. More... | |
|
protectedpure virtual |
|
protectedpure virtual |