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. | |
virtual bool | active () const =0 |
True if the local end is active. | |
virtual bool | closed () const =0 |
True if the local and remote ends are closed. | |
virtual class error_condition | error () const =0 |
Get the error condition of the remote endpoint. | |
virtual void | close ()=0 |
Close the endpoint. | |
virtual void | close (const error_condition &)=0 |
Close the endpoint with an error condition. | |
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.