IClientReceiveData Event

Occurs when unprocessed data has been received from the server.

Definition

Namespace: Gemstone.Communication
Assembly: Gemstone.Communication (in Gemstone.Communication.dll) Version: 1.0.185 -- Release Build+ebb91645f4dd5b7bf20a5f1ef8b0585a9b32b1d0

Value

EventHandlerEventArgsInt32

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, however, the data that is available after calling the Read(Byte, Int32, Int32) method will be the original unprocessed data received by the client, i.e., not optionally decrypted or decompressed data.

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

See Also