SocketClientIsReady - property of the PmaData object

Detects whether the object is ready to write/read over Sockets. In this case the PmaData object is the Socket client.
Boolean SocketClientIsReady
true - The object is ready to transfer the data over the Socket (i.e. the ReadFromSocket or WriteToSocket method can be called)
false - The object is not ready to transfer the data (the data from the previous calling the referred methods is still transferring)
Property access for read only.
This method is not functional for PmFree.

The PmaData object gets in the transfer of data state by calling the methods ReadFromSocket or WriteToSocket. During the transfer these methods cannot be re-called over the object and the SocketClientIsReady property then returns the false value. After the transfer (i.e. after the onEndOfTransfer event is triggered) the methods can be called again and the SocketClientIsReady property returns the true value.
See also:
JavaScriptVBScriptSelect and copy to clipboard

if (oData.SocketClientIsReady)
Pm.Debug("SocketClient is not ready (is still active)");
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.