Flow 1.0.1
Flow project: Public API.
|
Contains classes that add boost.asio integration to the main Flow-protocol classes such as net_flow::Node and net_flow::Peer_socket, so that net_flow
sockets can be easily used in boost.asio-driven event loops, e.g., ones also performing TCP networking and scheduling timers.
More...
Classes | |
class | Node |
A subclass of net_flow::Node that adds the ability to easily and directly use net_flow sockets in general boost.asio event loops. More... | |
class | Peer_socket |
A net_flow::Peer_socket that adds integration with boost.asio. More... | |
class | Server_socket |
A net_flow::Server_socket that adds integration with boost.asio. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &os, const Peer_socket *sock) |
Prints string representation of given socket to given standard ostream and returns the latter. More... | |
std::ostream & | operator<< (std::ostream &os, const Server_socket *serv) |
Prints string representation of given socket to given standard ostream and returns the latter. More... | |
Contains classes that add boost.asio integration to the main Flow-protocol classes such as net_flow::Node and net_flow::Peer_socket, so that net_flow
sockets can be easily used in boost.asio-driven event loops, e.g., ones also performing TCP networking and scheduling timers.
std::ostream & operator<< | ( | std::ostream & | os, |
const Peer_socket * | sock | ||
) |
Prints string representation of given socket to given standard ostream
and returns the latter.
The representation includes the local and remote endpoints and the hex pointer value.
shared_ptr
forwards ostream
output to the underlying pointer type, so this will affect Ptr
output as well. os | Stream to print to. |
sock | Object to serialize. May be null. |
os
. std::ostream & operator<< | ( | std::ostream & | os, |
const Server_socket * | serv | ||
) |
Prints string representation of given socket to given standard ostream
and returns the latter.
The representation includes the local and remote endpoints and the hex pointer value.
shared_ptr
forwards ostream
output to the underlying pointer type, so this will affect Ptr
output as well. os | Stream to print to. |
serv | Object to serialize. May be null. |
os
.