C# Класс Granados.PortForwarding.RemotePortForwardingReply

A reply to the new request on the server-to-client port forwarding.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Accepted bool
EventHandler ISSHChannelEventHandler
ReasonCode Reason
ReasonMessage string

Открытые методы

Метод Описание
Accept ( ISSHChannelEventHandler eventHandler ) : RemotePortForwardingReply

Create an instance for accepting the request.

Reject ( Reason reason, string descrition ) : RemotePortForwardingReply

Create an instance for rejecting the request.

Защищенные методы

Метод Описание
RemotePortForwardingReply ( bool accepted, ISSHChannelEventHandler eventHandler, Reason reasonCode, string reasonMessage ) : System

Constructor

Описание методов

Accept() публичный статический Метод

Create an instance for accepting the request.
public static Accept ( ISSHChannelEventHandler eventHandler ) : RemotePortForwardingReply
eventHandler ISSHChannelEventHandler channel event handler for the new channel
Результат RemotePortForwardingReply

Reject() публичный статический Метод

Create an instance for rejecting the request.
public static Reject ( Reason reason, string descrition ) : RemotePortForwardingReply
reason Reason reason code
descrition string description
Результат RemotePortForwardingReply

RemotePortForwardingReply() защищенный Метод

Constructor
protected RemotePortForwardingReply ( bool accepted, ISSHChannelEventHandler eventHandler, Reason reasonCode, string reasonMessage ) : System
accepted bool
eventHandler ISSHChannelEventHandler
reasonCode Reason
reasonMessage string
Результат System

Описание свойств

Accepted публичное свойство

true if the requested port-forwarding has been accepted.
public bool Accepted
Результат bool

EventHandler публичное свойство

An event handler object for the new channel.
public ISSHChannelEventHandler EventHandler
Результат ISSHChannelEventHandler

ReasonCode публичное свойство

Reason code for denaial (SSH2 only)
This field is meaningful when the connection uses SSH2 and the Accept property was false.
public Reason ReasonCode
Результат Reason

ReasonMessage публичное свойство

Reason message for denaial (SSH2 only)
This field is meaningful when the connection uses SSH2 and the Accept property was false.
public string ReasonMessage
Результат string