Back to product page

Received callback method


Called when there is data to be received.

Syntax

  • Basic
object.Received (Owner, ByteCount)
The Received(object,Owner,ByteCount) syntax has these parts:
objectAn expression evaluating to an object of type IwodTelnetNotify
OwnerAn expression evaluating to an object of type wodTelnetDLX
ByteCountAn Integer value. Total number of bytes waiting to be read by your program.

Remarks

NOTE: This method is called only if you implemented IwodTelnetNotify interface in your application, and wodTelnet.Notification property has received reference to instance of your implementation.

Received notification method will be called each time there is data to be read by your program using Receive method. ByteCount argument will hold maximum number you should use with Receive method once you decide to read the data.

You do not have to call Receive method immediately. However, Received notification method will not be called again until you don't Receive data that is currently held in wodTelnetDLX'es internal buffers.

Platforms

Windows