Diffusion C API  6.3.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
session_listener_s Struct Reference

When a session changes state, a listener may be called to inform the client of the transition via the appropriate function pointer in this structure. More...

Data Fields

void(* on_state_changed )(struct session_s *session, const SESSION_STATE_T old_state, const SESSION_STATE_T new_state)
 The current session has transitioned between states.
 
void(* on_handler_error )()
 Called when an error occurs, but there is not a more specific handler registered to deal with it. More...
 

Detailed Description

When a session changes state, a listener may be called to inform the client of the transition via the appropriate function pointer in this structure.

Field Documentation

void(* session_listener_s::on_handler_error)()

Called when an error occurs, but there is not a more specific handler registered to deal with it.


The documentation for this struct was generated from the following file: