Back to product page
- Introduction
- Overview
- License Agrement
- Getting Started
- Objects
- Enumerations
- wodSSH
- Methods
- Properties
- AllocatePty
- Authentication
- Blocking
- ClientName
- Columns
- Command
- Compression
- DataOut
- DataReady
- Encoding
- Encryption
- EncryptionList
- ErrorText
- ExitSignal
- ExitStatus
- FIPS
- ForwardHost
- ForwardPort
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- KeyForward
- KeySignatureList
- LastError
- Login
- MyHostname
- MyIP
- Notification
- Password
- Port
- PrivateKey
- Prompt
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- Rows
- ShowStdErrorMessages
- State
- StateText
- StripANSI
- StripNull
- Subsystem
- TerminalSpeed
- TerminalType
- Timeout
- UseIPv6
- Version
- Events
- IwodSSHNotify
- How to get support?
- Technical information
- Fast notifications interface
- Error list
PromptReceived method
Called when command prompt string is received.
Type
NoneSyntax
- 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 IwodSSHNotify. |
Owner | A wodSSHCom object. |
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.If you set the Prompt property before you initiated the Connect method, then wodSSH will fire this notification each time it receives a string sequence which matches the one defined in the Prompt property.
This is a very handy way to determine WHEN to send new commands, because you don't have to parse received data to determine if the command output has finished or not. Also, if the Prompt property is set, you will never receive the same string sequence when the Receive method is called. This makes it easy to examine command output.