X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FSocketSource.cti;h=8bb2e7c17a5e801c053d0a8fb94bffe58202153a;hb=a1fdb7bb122f0b05be809a922d4b7ef5e125fa67;hp=53c9fed7816246cb574238416a2d8cc45d177d41;hpb=ed0e2329281a50f80be8425938c17515fa70661b;p=senf.git diff --git a/PPI/SocketSource.cti b/PPI/SocketSource.cti index 53c9fed..8bb2e7c 100644 --- a/PPI/SocketSource.cti +++ b/PPI/SocketSource.cti @@ -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 @@ -39,6 +39,20 @@ prefix_ Reader & senf::ppi::module::ActiveSocketSource::reader() return reader_; } +template +prefix_ typename senf::ppi::module::ActiveSocketSource::Handle +senf::ppi::module::ActiveSocketSource::handle() +{ + return handle_; +} + +template +prefix_ void senf::ppi::module::ActiveSocketSource::handle(Handle handle) +{ + handle_ = handle; + event_.set(handle_, IOEvent::Read); +} + ///////////////////////////////cti.e/////////////////////////////////////// #undef prefix_