OpenDOF Project
Data Fields
DOFConnectionStreamRequestListener Struct Reference

The listener interface structure used to obtain notification of streaming connection requests, based on the connection, security, interest and available bindings. More...

Data Fields

void(* Removed )(DOFConnectionStreamRequestListener self, DOFException except)
 Callback used to let the listener free resources associated with the listener.
 
void(* StreamRequest )(DOFConnectionStreamRequestListener self, DOFConnectionConfig config, DOFConnectionStreamRequest request)
 Callback for a DOFConnection when connect-level interests and matching providers indicate that a streaming connection is desired.
 
void(* StreamRequestComplete )(DOFConnectionStreamRequestListener self, DOFConnectionConfig config, DOFConnectionStreamRequest request)
 Callback for a DOFConnection when connect-level interests and a matching providers indicate that a streaming connection is no longer desired.
 

Detailed Description

The listener interface structure used to obtain notification of streaming connection requests, based on the connection, security, interest and available bindings.

The DOFConnection Stream Request Listener interface.

All of the functions in this structure take a pointer to this structure (a DOFConnectionStreamRequestListener) as their first argument. This structure may be placed as the first element in a larger structure that stores additional state, allowing the functions to access the additional state by casting the structure pointer to a pointer to the larger structure. If no additional state is required, this structure may be used directly.

Threading:
Functions in this interface may be called by multiple threads simultaneously. You must manage thread-safety.
See Also
DOFConnectionConfigBuilder_SetStreamRequestListener

Defined as a pointer to the DOFConnectInterestListener_t structure. Refer to the structure for more information.

core-c-dof-oal Version 8.0.0 Build 0
2017-04-21