SPAOP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
wonder::PingControl::Listener Class Referenceabstract

A listener class for callbacks in case loss of connection is detected. More...

#include <PingControl.h>

Inheritance diagram for wonder::PingControl::Listener:
Inheritance graph
[legend]

Public Member Functions

virtual ~Listener ()
 Destructor. More...
 
virtual void connectionLost (const int connectionID)=0
 Called when more than maxLost pings did not arrive as expected. More...
 

Detailed Description

A listener class for callbacks in case loss of connection is detected.

Constructor & Destructor Documentation

virtual wonder::PingControl::Listener::~Listener ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual void wonder::PingControl::Listener::connectionLost ( const int  connectionID)
pure virtual

Called when more than maxLost pings did not arrive as expected.

Parameters
connectionIDThe ID that was passed in the PingControl's constructor. This enables the listener to listen to several instances of PingControl.