CatapultServer
v0.5.0.1 (Elephant)
|
Go to the source code of this file.
Classes | |
class | catapult::ionet::PacketSocket |
struct | catapult::ionet::PacketSocket::Stats |
Statistics about a socket. More... | |
class | catapult::ionet::AcceptedPacketSocketInfo |
Result of a packet socket accept operation. More... | |
Namespaces | |
catapult | |
catapult::ionet | |
Typedefs | |
using | catapult::ionet::ConfigureSocketCallback = consumer< socket & > |
Callback for configuring a socket before initiating an accept. More... | |
using | catapult::ionet::AcceptCallback = consumer< const AcceptedPacketSocketInfo & > |
Callback for an accepted socket. More... | |
using | catapult::ionet::ConnectCallback = consumer< ConnectResult, const std::shared_ptr< PacketSocket > & > |
Callback for a connected socket. More... | |
Functions | |
void | catapult::ionet::Accept (boost::asio::ip::tcp::acceptor &acceptor, const PacketSocketOptions &options, const AcceptCallback &accept) |
Accepts a connection using acceptor and calls accept on completion configuring the socket with options. More... | |
void | catapult::ionet::Accept (boost::asio::ip::tcp::acceptor &acceptor, const PacketSocketOptions &options, const ConfigureSocketCallback &configureSocket, const AcceptCallback &accept) |
action | catapult::ionet::Connect (boost::asio::io_context &ioContext, const PacketSocketOptions &options, const NodeEndpoint &endpoint, const ConnectCallback &callback) |