Back to product page

PortForwardDisconnect method


Called when user port forwarding is to be closed.

Type

None

Syntax

  • Basic
object.PortForwardDisconnect Owner, User, RemoteHost, RemotePort
The PortForwardDisconnect(object,Owner,User,RemoteHost,RemotePort) syntax has these parts:
objectAn expression evaluating to an object of type IwodSSHDNotify.
OwnerA wodSSHDcom object. Instance of wodSSHServer that called this notification method.
UserA SSHUser object. Reference to user who requested port forwarding.
RemoteHostA String value. Hostname or IP address of remote peer.
RemotePortA Long value. Port number used on the remote peer's computer.

Remarks

This method is called only if you implemented IwodSSHNotify interface in your application, and wodSSHD.Notification property has received reference to instance of your implementation.

This notification method is called after request for port forward or port binding (appropriate notification was already called when such request was made by the client) is about to be closed. Values or User.LocalPFCount/RemotePFCount will be decreased.

Platforms

Windows