#include <senf/PPI/SocketSink.hh>
Public Types | |
typedef senf::ClientSocketHandle< senf::MakeSocketPolicy< senf::WriteablePolicy, senf::DatagramFramingPolicy >::policy > | Handle |
Handle type supported by this writer. More... | |
typedef Packet | PacketType |
Public Member Functions | |
IPv4SourceForcingDgramWriter () | |
IPv4SourceForcingDgramWriter (senf::INet4Address sourceAddr, senf::INet4SocketAddress destAddr) | |
void | source (senf::INet4Address &source) |
senf::INet4Address | source () |
void | destination (senf::INet4SocketAddress &dest) |
senf::INet4SocketAddress | destination () |
bool | operator() (Handle &handle, Packet const &packet) |
Write packet to handle. More... | |
Definition at line 94 of file SocketSink.hh.
typedef senf::ClientSocketHandle< senf::MakeSocketPolicy< senf::WriteablePolicy, senf::DatagramFramingPolicy>::policy > senf::ppi::IPv4SourceForcingDgramWriter::Handle |
Handle type supported by this writer.
Definition at line 101 of file SocketSink.hh.
Definition at line 103 of file SocketSink.hh.
senf::ppi::IPv4SourceForcingDgramWriter::IPv4SourceForcingDgramWriter | ( | ) |
Definition at line 23 of file SocketSink.cc.
senf::ppi::IPv4SourceForcingDgramWriter::IPv4SourceForcingDgramWriter | ( | senf::INet4Address | sourceAddr, |
senf::INet4SocketAddress | destAddr | ||
) |
Definition at line 31 of file SocketSink.cc.
void senf::ppi::IPv4SourceForcingDgramWriter::destination | ( | senf::INet4SocketAddress & | dest | ) |
Definition at line 42 of file SocketSink.cc.
senf::INet4SocketAddress senf::ppi::IPv4SourceForcingDgramWriter::destination | ( | ) |
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 |
Definition at line 48 of file SocketSink.cc.
void senf::ppi::IPv4SourceForcingDgramWriter::source | ( | senf::INet4Address & | source | ) |
Definition at line 37 of file SocketSink.cc.
senf::INet4Address senf::ppi::IPv4SourceForcingDgramWriter::source | ( | ) |