Writer for module::ActiveSocketSink / module::PassiveSocketSink. More...
#include <senf/PPI/SocketSink.hh>
Public Types | |
typedef senf::ClientSocketHandle< senf::MakeSocketPolicy< senf::WriteablePolicy, senf::DatagramFramingPolicy, senf::ConnectedCommunicationPolicy >::policy > | Handle |
Handle type supported by this writer. More... | |
typedef Packet | PacketType |
Public Member Functions | |
bool | operator() (Handle &handle, Packet const &packet) |
Write packet to handle. More... | |
Writer for module::ActiveSocketSink / module::PassiveSocketSink.
This writer will write the packets completely as datagrams to the given socket which must be connected.
Definition at line 45 of file SocketSink.hh.
typedef senf::ClientSocketHandle< senf::MakeSocketPolicy< senf::WriteablePolicy, senf::DatagramFramingPolicy, senf::ConnectedCommunicationPolicy>::policy > senf::ppi::ConnectedDgramWriter::Handle |
Handle type supported by this writer.
Definition at line 51 of file SocketSink.hh.
Definition at line 53 of file SocketSink.hh.
Write packet to handle.
Write the complete packet as a datagram to handle.
[in] | handle | Handle to write data to |
[in] | packet | Packet to write |