22 #ifndef TCPCONVERGENCELAYER_H_
23 #define TCPCONVERGENCELAYER_H_
55 const static std::string TAG;
92 virtual const std::string
getName()
const;
127 void listen(const ibrcommon::vinterface &iface,
int port) throw ();
132 void unlisten(const ibrcommon::vinterface &iface) throw ();
155 void addTrafficIn(
size_t) throw ();
160 void addTrafficOut(
size_t) throw ();
162 static const
int DEFAULT_PORT;
164 ibrcommon::vsocket _vsocket;
167 ibrcommon::Conditional _connections_cond;
170 ibrcommon::Mutex _interface_lock;
171 std::set<ibrcommon::vinterface> _interfaces;
173 ibrcommon::Mutex _portmap_lock;
174 std::map<ibrcommon::vinterface,
unsigned int> _portmap;
175 unsigned int _any_port;
178 ibrcommon::Mutex _stats_lock;