#include "tunnel.h"
#include "connection.h"
Connection::Connection(Tunnel &tunnel, const ConnId &id, int tcpSockId):
tunnel(tunnel),
id(id),
tcpSockId(tcpSockId),
udpActive(true),
tcpSendQueue(*this),
tcpRecvQueue(*this),
udpSendQueue(*this),
udpRecvQueue(*this)
{ }
Connection::~Connection() { }