|
CatapultServer
v0.5.0.1 (Elephant)
|
Manages a collection of connections that receive data from external nodes. More...


Public Types | |
| using | AcceptCallback = consumer< const PeerConnectResult & > |
Public Member Functions | |
| virtual size_t | numActiveReaders () const =0 |
| Gets the number of active readers. More... | |
| virtual void | accept (const ionet::AcceptedPacketSocketInfo &socketInfo, const AcceptCallback &callback)=0 |
| Accepts a connection represented by socketInfo and calls callback on completion. More... | |
| virtual void | shutdown ()=0 |
| Shuts down all connections. More... | |
Public Member Functions inherited from catapult::net::ConnectionContainer | |
| virtual | ~ConnectionContainer ()=default |
| virtual size_t | numActiveConnections () const =0 |
| Gets the number of active connections (including pending connections). More... | |
| virtual utils::KeySet | identities () const =0 |
| Gets the identities of active connections. More... | |
| virtual bool | closeOne (const Key &identityKey)=0 |
| Closes any active connections to the node identified by identityKey. More... | |
Manages a collection of connections that receive data from external nodes.
| using catapult::net::PacketReaders::AcceptCallback = consumer<const PeerConnectResult&> |
|
pure virtual |
Accepts a connection represented by socketInfo and calls callback on completion.
|
pure virtual |
Gets the number of active readers.
|
pure virtual |
Shuts down all connections.