X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FSocketSource.hh;h=a74fdbcad31010738320ef2cf37622bcc37f8b79;hb=d8c2d9d478b8808e5b76e4688aea4f840b6a1df7;hp=477df4bad8e86e5d98b06dbfe31f7c0a26cbf88c;hpb=a1a6c76a214ad1935032826713cabaf9ac57bf07;p=senf.git diff --git a/PPI/SocketSource.hh b/PPI/SocketSource.hh index 477df4b..a74fdbc 100644 --- a/PPI/SocketSource.hh +++ b/PPI/SocketSource.hh @@ -53,6 +53,7 @@ namespace ppi { class DgramReader { public: + typedef Packet PacketType; typedef senf::ClientSocketHandle< senf::MakeSocketPolicy< senf::ReadablePolicy, senf::DatagramFramingPolicy >::policy > Handle; @@ -111,7 +112,8 @@ namespace module { public: typedef typename Reader::Handle Handle; ///< Handle type requested by the reader - connector::ActiveOutput<> output; ///< Output connector to which the data received is written + connector::ActiveOutput output; + ///< Output connector to which the data received is written ActiveSocketSource(Handle handle); ///< Create new reader for the given handle /**< Data will be read from \a handle and be parsed by \a