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.