Back to product page
- Introduction
- License Agreement
- Objects
- Enumerations
- wodTunnel
- Methods
- Properties
- AllocatePty
- Authentication
- Channels
- ClientName
- Compression
- Encryption
- EncryptionList
- FIPS
- HMacList
- Hostname
- KeyExchangeList
- KeySignatureList
- Login
- MyHostname
- MyIP
- Notification
- Password
- Port
- PrivateKey
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- State
- StateText
- Threads
- Timeout
- UseIPv6
- Version
- Events
- wodTunnelNotify
- Channel
- Channels
- User
- Users
- How to get support?
- Technical information
- Fast notifications interface
- Using threads
- Error list
StateChange events
Fires when wodSSHTunnel changes its state.
Syntax
- Basic
Private Sub object_StateChange(OldState)
The StateChange(object,OldState) syntax has these parts:
The StateChange(object,OldState) syntax has these parts:
object | A wodTunnel object. |
OldState | A StatesEnum enumeration, as described in settings. Holds the previous state. |
Remarks
The settings for OldState are:
Constant | Value | Description |
---|---|---|
Disconnected | 0 | Disconnected from server. |
Connecting | 1 | Connecting to server. |
Connected | 2 | Connected to server - idle. |
Receiving | 3 | Receiving data from server. |
Sending | 4 | Sending data to server. |