X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSocketHandle.cc;h=afd1d89d9e8f7e81d3fb22637077d0abb5737812;hb=c778649a04a9835ecaad9108b9613832d76c2d15;hp=64735f2d227f3485be058d34555ab68db6d42308;hpb=1ad3873b372da6187b1fbc645bf276287d2efb54;p=senf.git diff --git a/Socket/SocketHandle.cc b/Socket/SocketHandle.cc index 64735f2..afd1d89 100644 --- a/Socket/SocketHandle.cc +++ b/Socket/SocketHandle.cc @@ -1,9 +1,9 @@ // $Id$ // // Copyright (C) 2006 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// 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 // it under the terms of the GNU General Public License as published by @@ -57,8 +57,8 @@ prefix_ void senf::SocketBody::state(SocketStateMap & map, unsigned lod) map["file.handle"] << fd(); map["file.refcount"] << refcount(); map["socket.server"] << isServer(); - map["socket.protocol"] << prettyName(typeid(protocol())); - map["socket.policy"] << prettyName(typeid(protocol().policy())); + map["socket.protocol"] << v_protocolName(); + map["socket.protocol.policy"] << prettyName(typeid(protocol().policy())); protocol().state(map,lod); } @@ -85,13 +85,6 @@ prefix_ std::string senf::detail::dumpState(SocketStateMap const & map) return s.str(); } -template -prefix_ std::ostream & senf::operator<<(std::ostream & os, SocketHandle handle) -{ - os << handle.dumpState(); - return os; -} - ///////////////////////////////cc.e//////////////////////////////////////// #undef prefix_ //#include "SocketHandle.mpp"