Channel Subscriber Interface.
More...
#include <isubscriber.h>
|
virtual void | start ()=0 |
| Entry point to handle incoming requests.
|
|
virtual void | sendme (text_response_ptr response)=0 |
| Send response message to the client. More...
|
|
virtual identifier_t | get_client_id () const =0 |
| Get the client id object. More...
|
|
virtual const std::string & | get_login () const =0 |
| Get the login. More...
|
|
virtual bool | is_busy () const noexcept=0 |
|
virtual void | set_busy (bool flag=true) noexcept=0 |
|
virtual void | reuse (boost::asio::ip::tcp::socket &&_socket)=0 |
|
virtual void | free_connection ()=0 |
|
Channel Subscriber Interface.
virtual identifier_t ISubscriber::get_client_id |
( |
| ) |
const |
|
pure virtual |
Get the client id object.
Returns current client id
- Returns
- identifier_t
Implemented in Connection.
virtual const std::string& ISubscriber::get_login |
( |
| ) |
const |
|
pure virtual |
Get the login.
Return client's login
- Returns
- const std::string&
Implemented in Connection.
virtual void ISubscriber::sendme |
( |
text_response_ptr |
response | ) |
|
|
pure virtual |
Send response message to the client.
- Parameters
-
response | response needs to be sent |
Implemented in Connection.
The documentation for this class was generated from the following file: