Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- wodTelnetDLX
- Methods
- Properties
- Authentication
- AutoSize
- BackColor
- BackLog
- BindIP
- BindPort
- Blocking
- BorderVisible
- Certificate
- CharEncoding
- Column
- Columns
- ColWidth
- Command
- ContextMenu
- CursorHeight
- DataOut
- DataReady
- Enabled
- ErrorText
- ExitSignal
- ExitStatus
- Font
- ForeColor
- HandleSysKeys
- Hostname
- hWnd
- KeepAlives
- Language
- LastError
- LocalCertBag
- Login
- MousePointer
- MouseWheel
- MyHostname
- MyIP
- Notification
- Password
- Picture
- Port
- Prompt
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RecordMode
- RemoteIdentification
- Row
- RowHeight
- Rows
- ScrollBars
- ScrollX
- ScrollY
- SecureMethod
- SelectedText
- ShowCursor
- Socket
- SpecialKeyFocus
- State
- StateText
- StripANSI
- StripColors
- TabStop
- TelnetOption
- TerminalEmulation
- TerminalType
- Text
- Timeout
- TranslateSpecial
- UseIPv6
- Version
- Events
- IwodTelnetNotify
- wodTelnetDLX
- How to get support?
- Technical information
- Fast notifications interface
- Error list
PromptReceived callback method
Called when command prompt string is received.
Syntax
- Basic
object.PromptReceived (Owner)
The PromptReceived(object,Owner) syntax has these parts:
The PromptReceived(object,Owner) syntax has these parts:
object | An expression evaluating to an object of type IwodTelnetNotify |
Owner | An expression evaluating to an object of type wodTelnetDLX |
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 event 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.