senf::ppi::ConnectedDgramWriter Class Reference

Writer for module::ActiveSocketSink / module::PassiveSocketSink. More...

#include <senf/PPI/SocketSink.hh>

Inheritance diagram for senf::ppi::ConnectedDgramWriter:

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...
 

Detailed Description

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.

Member Typedef Documentation

◆ Handle

◆ PacketType

Member Function Documentation

◆ operator()()

bool senf::ppi::ConnectedDgramWriter::operator() ( Handle handle,
Packet const &  packet 
)

Write packet to handle.

Write the complete packet as a datagram to handle.

Parameters
[in]handleHandle to write data to
[in]packetPacket to write

The documentation for this class was generated from the following file: