#include <AcknowledgeLoad.h>
Public Member Functions | |
AcknowledgeLoad (Comm *comm, EventPtr &event) | |
int | response (const std::map< QualifiedRangeSpec, int32_t > &error_map) |
![]() | |
ResponseCallback (Comm *comm, EventPtr &event) | |
Constructor. More... | |
ResponseCallback () | |
Default constructor. More... | |
virtual | ~ResponseCallback () |
Destructor. More... | |
virtual int | error (int error, const String &msg) |
Sends a standard error response back to the client. More... | |
virtual int | response_ok () |
Sends a a simple success response back to the client which is just the 4-byte error code Error::OK. More... | |
void | get_address (struct sockaddr_in &addr) |
Gets the remote address of the requesting client. More... | |
const InetAddr | get_address () const |
Gets the remote address of the requesting client. More... | |
EventPtr & | event () |
Get smart pointer to event object that triggered the request. More... | |
Additional Inherited Members | |
![]() | |
Comm * | m_comm |
Comm pointer. More... | |
EventPtr | m_event |
Smart pointer to event object. More... | |
Definition at line 41 of file AcknowledgeLoad.h.
|
inline |
Definition at line 43 of file AcknowledgeLoad.h.
int AcknowledgeLoad::response | ( | const std::map< QualifiedRangeSpec, int32_t > & | error_map | ) |
Definition at line 35 of file AcknowledgeLoad.cc.