RESTinio
|
An object with info about connection to be passed to state listener. More...
#include <connection_state_listener.hpp>
Public Member Functions | |
notice_t (connection_id_t conn_id, endpoint_t remote_endpoint, cause_t cause) | |
Initializing constructor. | |
connection_id_t | connection_id () const noexcept |
Get the connection id. | |
endpoint_t | remote_endpoint () const noexcept |
Get the remote endpoint for the connection. | |
cause_t | cause () const noexcept |
Get the cause for the notification. | |
Private Attributes | |
connection_id_t | m_conn_id |
endpoint_t | m_remote_endpoint |
cause_t | m_cause |
An object with info about connection to be passed to state listener.
That object contains available information of the connection for that state listener is called.
NOTE. Content of this type can be changed in future versions of RESTinio.
Definition at line 221 of file connection_state_listener.hpp.
|
inline |
Initializing constructor.
Definition at line 229 of file connection_state_listener.hpp.
|
inlinenoexcept |
Get the cause for the notification.
Definition at line 256 of file connection_state_listener.hpp.
|
inlinenoexcept |
Get the connection id.
Definition at line 241 of file connection_state_listener.hpp.
|
inlinenoexcept |
Get the remote endpoint for the connection.
Definition at line 246 of file connection_state_listener.hpp.
|
private |
Definition at line 225 of file connection_state_listener.hpp.
|
private |
Definition at line 223 of file connection_state_listener.hpp.
|
private |
Definition at line 224 of file connection_state_listener.hpp.