pub type CS104_ConnectionEventHandler = Option<unsafe extern "C" fn(parameter: *mut c_void, connection: IMasterConnection, event: CS104_PeerConnectionEvent)>;Expand description
Handler that is called when a peer connection is established or closed, or START_DT/STOP_DT is issued
§Arguments
parameter- user provided parameterconnection- the connection objectevent- event type
Aliased Type§
pub enum CS104_ConnectionEventHandler {
None,
Some(unsafe extern "C" fn(*mut c_void, *mut sIMasterConnection, u32)),
}