Description
-
Called when user port forwarding is to be closed.
Return Type
-
None
Syntax
-
object.PortForwardDisconnect Owner,
User, RemoteHost, RemotePort
The PortForwardDisconnect Method syntax has these
parts:
| object |
An expression
evaluating to an object of type wodSSHD-Notifications. |
| Owner |
A wodSSHDCom object. Instance
of wodSSHServer that called this notification
method. |
| User |
A SSHUser object. Reference
to user who requested port forwarding. |
|
RemoteHost |
A String
value. Hostname or IP address of remote peer. |
|
RemotePort |
A 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.
|