Console: Add console logging documentation
[senf.git] / PPI / Connectors.cci
index 1680902..c61555c 100644 (file)
@@ -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 <g0dil@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
@@ -24,6 +24,7 @@
     \brief Connectors inline non-template implementation */
 
 // Custom includes
+#include "../Utils/TypeInfo.hh"
 #include "../Utils/senfassert.hh"
 
 #define prefix_ inline
@@ -59,13 +60,6 @@ prefix_ senf::ppi::connector::Connector::~Connector()
         peer_->peer_ = 0;
 }
 
-prefix_ void senf::ppi::connector::Connector::connect(Connector & target)
-{
-    SENF_ASSERT( ! peer_ && ! target.peer_ );
-    peer_ = & target;
-    target.peer_ = this;
-}
-
 ////////////////////////////////////////
 // private members
 
@@ -135,8 +129,8 @@ prefix_ void senf::ppi::connector::PassiveConnector::notifyThrottle()
     if (!throttled()) {
         remoteThrottled_ = true;
         emitThrottle();
-    } 
-    else 
+    }
+    else
         remoteThrottled_ = true;
 }