C# 클래스 Granados.Poderosa.SFTP.SFTPClientChannelEventHandler

Channel data handler for SFTPClient
상속: SimpleSSHChannelEventHandler
파일 보기 프로젝트 열기: poderosaproject/poderosa 1 사용 예제들

공개 메소드들

메소드 설명
ClearResponseBuffer ( ) : void

Crear response buffer

OnClosed ( bool byServer ) : void
OnData ( DataFragment data ) : void
OnError ( Exception error ) : void
OnReady ( ) : void
WaitResponse ( DataReceivedDelegate responseHandler, int millisecondsTimeout ) : void

Wait for response.

Caller should lock ResponseNotifier before send a request packet, and this method should be called in the lock-block.

비공개 메소드들

메소드 설명
Dump ( string caption, DataFragment data ) : void
Dump ( string caption, byte data, int offset, int length ) : void
TransitStatus ( SFTPChannelStatus newStatus ) : void

메소드 상세

ClearResponseBuffer() 공개 메소드

Crear response buffer
public ClearResponseBuffer ( ) : void
리턴 void

OnClosed() 공개 메소드

public OnClosed ( bool byServer ) : void
byServer bool
리턴 void

OnData() 공개 메소드

public OnData ( DataFragment data ) : void
data DataFragment
리턴 void

OnError() 공개 메소드

public OnError ( Exception error ) : void
error Exception
리턴 void

OnReady() 공개 메소드

public OnReady ( ) : void
리턴 void

WaitResponse() 공개 메소드

Wait for response.

Caller should lock ResponseNotifier before send a request packet, and this method should be called in the lock-block.

Timeout has occured. an exception which was thrown while executing responseHandler.
public WaitResponse ( DataReceivedDelegate responseHandler, int millisecondsTimeout ) : void
responseHandler DataReceivedDelegate delegate which handles response data
millisecondsTimeout int timeout in milliseconds
리턴 void