IMasterConnection_isReady

Function IMasterConnection_isReady 

Source
pub unsafe extern "C" fn IMasterConnection_isReady(
    self_: IMasterConnection,
) -> bool
Expand description

Check if the connection is ready to send an ASDU.

Deprecated Use one of the send functions (e.g. IMasterConnection_sendASDU) and evaluate the return value.

NOTE: The functions returns true when the connection is activated, the ASDU can be immediately sent, or the queue has enough space to store another ASDU.

§Arguments

  • self - the connection object (this is usually received as a parameter of a callback function)

§Returns

true if the connection is ready to send an ASDU, false otherwise