OpenDaVINCI  4.15.3
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 ( )
virtual

Member Function Documentation

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

This method sets or unsets a connection listener.

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

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