X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FSocketSource.hh;h=a74fdbcad31010738320ef2cf37622bcc37f8b79;hb=7527fa188b41bd1e1ce1eb55777bfe360eb8373e;hp=e0b6b7e417e38762b416c0ad84de122912a0e931;hpb=19457dfb4c2d5df32f7dcdcb911bd26963ba91b2;p=senf.git diff --git a/PPI/SocketSource.hh b/PPI/SocketSource.hh index e0b6b7e..a74fdbc 100644 --- a/PPI/SocketSource.hh +++ b/PPI/SocketSource.hh @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institute for Open Communication Systems (FOKUS) -// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Copyright (C) 2007 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -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