Lightstreamer PCL (Portable Class Library) Client 3.1.0
ContentsIndexHome
PreviousUpNext
IConnectionListener.OnNewBytes Method

Notification of the reception of a data event or a keepalive message from the Server. The number of bytes of data in the message payloads are also notified, for statistical purposes. Note that keepalive messages bring no data bytes.

C++
void OnNewBytes(long bytes);
C#
void OnNewBytes(long bytes);
Visual Basic
Function OnNewBytes(bytes As long) As void
Parameters 
Description 
long bytes 
Number of data bytes received, possibly 0.