The Maverick.NET SSH API

ForwardingConfigurationListener Delegate

A delegate for receiving forwarding configuration changes.

[Visual Basic]
Public Delegate Sub ForwardingConfigurationListener( _
   ByVal type As ForwardingChannelType, _
   ByVal state As ForwardingConfigurationState, _
   ByVal hostToConnect As String, _
   ByVal portToConnect As Integer, _
   ByVal listeningAddress As String, _
   ByVal listeningPort As Integer _
)
[C#]
public delegate void ForwardingConfigurationListener(
   ForwardingChannelType type,
   ForwardingConfigurationState state,
   string hostToConnect,
   int portToConnect,
   string listeningAddress,
   int listeningPort
);

Remarks

This delegate is called by the ForwardingClient when a configuration change is made. Configuration changes involve the starting and stopping of local, remote and x11 forwardings. The ForwardingChannelType parameter indicates the type of forwarding and the ForwardingConfigurationState enum indicates the new state of the configuration. The other paramteres provide the information as to where the forwarding is directed from and to where it is going.

Requirements

Namespace: Maverick.Forwarding

Assembly: Maverick.NET (in Maverick.NET.dll)

See Also

Maverick.Forwarding Namespace