The base class for session, connection, and link. More...
#include <endpoint.hpp>
Public Member Functions | |
virtual bool | uninitialized () const =0 |
True if the local end is uninitialized. More... | |
virtual bool | active () const =0 |
True if the local end is active. More... | |
virtual bool | closed () const =0 |
True if the local and remote ends are closed. More... | |
virtual class error_condition | error () const =0 |
Get the error condition of the remote endpoint. More... | |
virtual void | close ()=0 |
Close the endpoint. More... | |
virtual void | close (const error_condition &)=0 |
Close the endpoint with an error condition. More... | |
The base class for session, connection, and link.
|
pure virtual |
True if the local end is uninitialized.
Implemented in connection, link, and session.
|
pure virtual |
True if the local end is active.
Implemented in connection, link, and session.
|
pure virtual |
True if the local and remote ends are closed.
Implemented in connection, link, and session.
|
pure virtual |
Get the error condition of the remote endpoint.
Implemented in connection, link, and session.
|
pure virtual |
Close the endpoint.
Implemented in connection, link, and session.
|
pure virtual |
Close the endpoint with an error condition.
Implemented in connection, link, and session.