Denislam Valeev / Mbed OS Nucleo_rtos_basic
Embed: (wiki syntax)

« Back to documentation index

ConnectionEventMonitor Class Reference

ConnectionEventMonitor Class Reference

Implemented by classes that need to be notified of connection changes. More...

#include <ConnectionEventMonitor.h>

Inherited by GenericGap.

Data Structures

class  EventHandler
 Implemented by classes that are reacting to connection changes. More...

Public Member Functions

virtual void set_connection_event_handler (EventHandler *connection_event_handler)=0
 Register a handler for connection events to be used internally and serviced first.

Detailed Description

Implemented by classes that need to be notified of connection changes.

Notification is done by calling functions in the passed in event handler

Definition at line 31 of file ConnectionEventMonitor.h.


Member Function Documentation

virtual void set_connection_event_handler ( EventHandler connection_event_handler ) [pure virtual]

Register a handler for connection events to be used internally and serviced first.

Parameters:
[in]connection_event_handlerEvent handler being registered.