C# 클래스 Granados.PortForwarding.RemotePortForwardingReply

A reply to the new request on the server-to-client port forwarding.
파일 보기 프로젝트 열기: poderosaproject/poderosa

공개 프로퍼티들

프로퍼티 타입 설명
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