Diffusion C API 6.11.8
Loading...
Searching...
No Matches
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...

#include <session_types.h>

Public Member Functions

 DEPRECATED (void(*on_handler_error)(const struct v5_message_s *msg))
 Called when an error occurs, but there is not a more specific handler registered to deal with it.

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.

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.

Member Function Documentation

◆ DEPRECATED()

session_listener_s::DEPRECATED ( void(* on_handler_error )(const struct v5_message_s *msg))

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

deprecated since 6.9. Will be removed in the future


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