OpenDaVINCI  4.16.0
odcore::io::ConnectionObserver Class Referenceabstract

#include <ConnectionObserver.h>

Inheritance diagram for odcore::io::ConnectionObserver:
Inheritance graph

Public Member Functions

virtual ~ConnectionObserver ()
virtual void setConnectionListener (ConnectionListener *cl)=0

Detailed Description

This class provides an interface for registering an ConnectionListener to handle connection error

Constructor & Destructor Documentation

odcore::io::ConnectionObserver::~ConnectionObserver ( )

Member Function Documentation

virtual void odcore::io::ConnectionObserver::setConnectionListener ( ConnectionListener cl)
pure virtual

This method sets or unsets a connection listener.

slConnection listener to be set. If set to NULL, error handling is suspended.

Implemented in odcore::io::tcp::TCPConnection, and odcore::wrapper::SerialPort.