17 #ifndef HH_SENF_PPI_QueueingSocketSink_ 18 #define HH_SENF_PPI_QueueingSocketSink_ 1 34 template <
class Writer=ConnectedDgramWriter>
40 typedef typename Writer::Handle
Handle;
61 void setQAlgorithm(std::string
const & key);
65 boost::scoped_ptr<QueueingAlgorithm> qAlgo_;
QueueingAlgorithm public header.
Writer::Handle Handle
Handle type requested by writer.
connector::PassiveInput< PacketType > input
Input connector from which data is received.
Handle & handle()
Access handle.
std::unique_ptr< QueueingAlgorithm > ptr
PassiveQueueingSocketSink(Handle const &handle, QueueingAlgorithm::ptr qAlgorithm)
SocketSink public header.
#define SENF_PPI_MODULE(name)
Define PPI Module.
FileHandle based I/O read/write event.
Writer::PacketType PacketType
QueueingAlgorithm & qAlgorithm() const
Writer & writer()
Access the Writer.
console::ScopedDirectory dir