1#ifndef Cpl_Itc_ResponseMessage_h_
2#define Cpl_Itc_ResponseMessage_h_
38template <
class CLIENT,
class SERVER,
class PAYLOAD>
80template <
class CLIENT,
class SERVER,
class PAYLOAD>
84 m_request( srv, payload, m_rh )
88template <
class CLIENT,
class SERVER,
class PAYLOAD>
92 m_request( serverSap, payload, m_rh )
96template <
class CLIENT,
class SERVER,
class PAYLOAD>
101template <
class CLIENT,
class SERVER,
class PAYLOAD>
104 m_client.response( *
this );
107template <
class CLIENT,
class SERVER,
class PAYLOAD>
113template <
class CLIENT,
class SERVER,
class PAYLOAD>
This class implements an asynchronous ReturnHandler.
Definition AsyncReturnHandler.h:33
This abstract class defines the operations for an ITC message.
Definition Message.h:25
This abstract class represents the interface used to send messages to a mailbox.
Definition PostApi.h:31
This template class represents a service request message to a particular server.
Definition RequestMessage.h:34
PAYLOAD & getPayload()
Returns the payload associated with this request.
Definition RequestMessage.h:94
This template class represents a client response message, which is posted to the client's mailbox aft...
Definition ResponseMessage.h:40
ResponseMessage(CLIENT &client, PostApi &clientsMbox, SERVER &server, PAYLOAD &payload)
Constructor.
Definition ResponseMessage.h:81
void process() noexcept
See Message.
Definition ResponseMessage.h:102
virtual ~ResponseMessage()
Destructor.
Definition ResponseMessage.h:97
PAYLOAD & getPayload()
Returns a reference the payload associated with this request/response.
Definition ResponseMessage.h:114
RequestMessage< SERVER, PAYLOAD > & getRequestMsg()
Returns a reference to the contained server-request-message.
Definition ResponseMessage.h:108
This concrete template class represents the interface to a ITC Service Access Point (SAP).
Definition SAP.h:30
The 'Cpl' namespace is the root name space for the Colony.
Definition Api16.h:20