Click or drag to resize

ClientBaseReceiveData Event

Occurs when unprocessed data has been received from the server.

Namespace: GSF.Communication
Assembly: GSF.Communication (in GSF.Communication.dll) Version: 2.4.207-beta
Syntax
public event EventHandler<EventArgs<int>> ReceiveData
View Source

Value

EventHandlerEventArgsInt32

Implements

IClientReceiveData
Remarks

This event can be used to receive a notification that server data has arrived. The Read(Byte, Int32, Int32) method can then be used to copy data to an existing buffer. In many cases it will be optimal to use an existing buffer instead of subscribing to the ReceiveDataComplete event.

Argument is the number of bytes received in the buffer from the server.

See Also