TCPConnection::~TCPConnection()
 {
     setStringListener(NULL);
     setConnectionListener(NULL);
 }
 SerialPort::~SerialPort() {
     setConnectionListener(NULL);
     setPartialStringReceiver(NULL);
 }