C# Class Granados.PortForwarding.RemotePortForwardingReply

A reply to the new request on the server-to-client port forwarding.
Afficher le fichier Open project: poderosaproject/poderosa

Méthodes publiques

Свойство Type Description
Accepted bool
EventHandler ISSHChannelEventHandler
ReasonCode Reason
ReasonMessage string

Méthodes publiques

Méthode Description
Accept ( ISSHChannelEventHandler eventHandler ) : RemotePortForwardingReply

Create an instance for accepting the request.

Reject ( Reason reason, string descrition ) : RemotePortForwardingReply

Create an instance for rejecting the request.

Méthodes protégées

Méthode Description
RemotePortForwardingReply ( bool accepted, ISSHChannelEventHandler eventHandler, Reason reasonCode, string reasonMessage ) : System

Constructor

Method Details

Accept() public static méthode

Create an instance for accepting the request.
public static Accept ( ISSHChannelEventHandler eventHandler ) : RemotePortForwardingReply
eventHandler ISSHChannelEventHandler channel event handler for the new channel
Résultat RemotePortForwardingReply

Reject() public static méthode

Create an instance for rejecting the request.
public static Reject ( Reason reason, string descrition ) : RemotePortForwardingReply
reason Reason reason code
descrition string description
Résultat RemotePortForwardingReply

RemotePortForwardingReply() protected méthode

Constructor
protected RemotePortForwardingReply ( bool accepted, ISSHChannelEventHandler eventHandler, Reason reasonCode, string reasonMessage ) : System
accepted bool
eventHandler ISSHChannelEventHandler
reasonCode Reason
reasonMessage string
Résultat System

Property Details

Accepted public_oe property

true if the requested port-forwarding has been accepted.
public bool Accepted
Résultat bool

EventHandler public_oe property

An event handler object for the new channel.
public ISSHChannelEventHandler EventHandler
Résultat ISSHChannelEventHandler

ReasonCode public_oe property

Reason code for denaial (SSH2 only)
This field is meaningful when the connection uses SSH2 and the Accept property was false.
public Reason ReasonCode
Résultat Reason

ReasonMessage public_oe property

Reason message for denaial (SSH2 only)
This field is meaningful when the connection uses SSH2 and the Accept property was false.
public string ReasonMessage
Résultat string