#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 | |
IPv6SourceForcingDgramWriter () | |
IPv6SourceForcingDgramWriter (senf::INet6Address sourceAddr, senf::INet6SocketAddress destAddr) | |
void | source (senf::INet6Address &source) |
senf::INet6Address | source () |
void | destination (senf::INet6SocketAddress &dest) |
senf::INet6SocketAddress | destination () |
bool | operator() (Handle &handle, Packet const &packet) |
Write packet to handle. More... | |
Definition at line 123 of file SocketSink.hh.
typedef senf::ClientSocketHandle< senf::MakeSocketPolicy< senf::WriteablePolicy, senf::DatagramFramingPolicy>::policy > senf::ppi::IPv6SourceForcingDgramWriter::Handle |
Handle type supported by this writer.
Definition at line 130 of file SocketSink.hh.
Definition at line 132 of file SocketSink.hh.
senf::ppi::IPv6SourceForcingDgramWriter::IPv6SourceForcingDgramWriter | ( | ) |
Definition at line 102 of file SocketSink.cc.
senf::ppi::IPv6SourceForcingDgramWriter::IPv6SourceForcingDgramWriter | ( | senf::INet6Address | sourceAddr, |
senf::INet6SocketAddress | destAddr | ||
) |
Definition at line 110 of file SocketSink.cc.
void senf::ppi::IPv6SourceForcingDgramWriter::destination | ( | senf::INet6SocketAddress & | dest | ) |
Definition at line 121 of file SocketSink.cc.
senf::INet6SocketAddress senf::ppi::IPv6SourceForcingDgramWriter::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 127 of file SocketSink.cc.
void senf::ppi::IPv6SourceForcingDgramWriter::source | ( | senf::INet6Address & | source | ) |
Definition at line 116 of file SocketSink.cc.
senf::INet6Address senf::ppi::IPv6SourceForcingDgramWriter::source | ( | ) |