17 #ifndef HH_SENF_PPI_SocketSource_ 18 #define HH_SENF_PPI_SocketSource_ 1 51 template <
class Packet=DataPacket,
unsigned MaxSize=0u>
61 Packet operator()(Handle & handle);
107 template <
class Reader=DgramReader<> >
114 typedef typename Reader::Handle
Handle;
126 void handle(Handle
const & handle);
131 unsigned maxBurst()
const;
132 void maxBurst(
unsigned max_burst);
141 memset(
this, 0,
sizeof(*
this));
143 void dump(std::ostream & os)
const {
144 os <<
"received " << received <<
", " 145 <<
"noop " << noop <<
".";
config::time_type clock_type
Connectors public header.
senf::ClientSocketHandle< senf::MakeSocketPolicy< senf::ReadablePolicy, senf::DatagramFramingPolicy >::policy > Handle
Handle type supported by this reader.
void dump(std::ostream &os) const
std::ostream & operator<<(std::ostream &os, QueueBufferAnnotation const &annotation)
ClockService::clock_type value
#define SENF_PPI_MODULE(name)
Define PPI Module.
FileHandle based I/O read/write event.
Reader::Handle Handle
Handle type requested by the reader.
connector::ActiveOutput< typename Reader::PacketType > output
Output connector to which the data received is written.
::phoenix::function< detail::clear > const clear
Reader for module::ActiveSocketSource.
Input module reading data from an arbitrary FileHandle.