OpenDOF Project
Data Fields
DOFConnectionStateListener::DOFConnectionStateListenerFns_t Struct Reference

The listener interface function structure, containing a list of function pointers that implement the interface. More...

Data Fields

void(* Removed )(DOFConnectionStateListener self, DOFConnection connection, DOFException except)
 Callback used to let listener free any allocated memory from a removed listener.
 
void(* StateChanged )(DOFConnectionStateListener self, DOFConnection connection, DOFConnectionState state)
 Callback for when the state of a Connection changes (for example, when the Connection is established or when it is closed or fails).
 

Detailed Description

The listener interface function structure, containing a list of function pointers that implement the interface.

It has the same role as a vtable in C++. This must not be NULL.

core-c-dof-oal Version 7.1.7 Build 0
2017-10-31