Abstract class for anything that can be sent a response. More...
#include <response.hpp>
Public Member Functions | |
virtual | ~ResponseSink ()=default |
Empty virtual destructor for ResponseSink. | |
virtual void | Respond (size_t id, const Response &response) const |
Outputs a response. More... | |
Abstract class for anything that can be sent a response.
Definition at line 117 of file response.hpp.
|
virtual |
Outputs a response.
id | The ID of the client of the ResponseSink receiving this response. Use 0 for broadcasts. |
response | The Response to output. |
Reimplemented in IoCore.
Definition at line 97 of file response.cpp.
Referenced by Player::Respond().