Description
-
Called when there is data to be received.
Return Type
-
None
Syntax
-
object.Received Owner,
ByteCount
The Received Method syntax has these parts:
| object |
An expression
evaluating to an object of type IwodSSHNotify. |
| Owner |
A wodSSHCom object. |
| ByteCount |
An Integer
value. Total number of bytes waiting to be read by your
program. |
Remarks
-
This method is called only if you
implemented the IwodSSHNotify interface in your application,
and the wodSSH.Notification
property has received a reference to the instance of your
implementation.
The Received notification method will be called each time
there is data to be read by your program using the Receive method.
The ByteCount argument will hold
the maximum number you should use with the Receive method once you
decide to read the data. You do not have to call the Receive
method immediately. However, the Received notification will not
be called again until you do Receive data that is
currently held in wodSSH's internal buffers.
|