rippled
|
A multi-protocol server. More...
Public Member Functions | |
virtual | ~Server ()=default |
Destroy the server. More... | |
virtual beast::Journal | journal ()=0 |
Returns the Journal associated with the server. More... | |
virtual Endpoints | ports (std::vector< Port > const &v)=0 |
Set the listening port settings. More... | |
virtual void | close ()=0 |
Close the server. More... | |
A multi-protocol server.
This server maintains multiple configured listening ports, with each listening port allows for multiple protocols including HTTP, HTTP/S, WebSocket, Secure WebSocket, and the Peer protocol.
Definition at line 44 of file ServerImpl.h.
|
virtualdefault |
Destroy the server.
The server is closed if it is not already closed. This call blocks until the server has stopped.
|
pure virtual |
Returns the Journal associated with the server.
Implemented in ripple::ServerImpl< Handler >.
|
pure virtual |
Set the listening port settings.
This may only be called once.
Implemented in ripple::ServerImpl< Handler >.
|
pure virtual |
Close the server.
The close is performed asynchronously. The handler will be notified when the server has stopped. The server is considered stopped when there are no pending I/O completion handlers and all connections have closed. Thread safety: Safe to call concurrently from any thread.
Implemented in ripple::ServerImpl< Handler >.