wodTelnetDLX ActiveX Control - PromptReceived Method
      
 

Description

Called when command prompt string is received.


Return Type

None  


Syntax

object.PromptReceived Owner



The PromptReceived Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodTelnetNotify.
Owner Required. A wodTelnetDLXCom object. Reference to wodTelnetDLXCom instance that called this callback method.

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.

If you set Prompt property before you initiated Connect method, then wodTelnetDLX will call this notification method each time it received same string sequence as you defined in Prompt property.

This is very handy notification method to decide WHEN to send new command, because you don't have to parse received data to determine if command output has finished or not. Also, if Prompt property is set, you will never receive same string sequence when Receive method is called. This makes easy to examine command operation output.