C# Class Granados.Poderosa.SFTP.SFTPClientChannelEventHandler

Channel data handler for SFTPClient
Inheritance: SimpleSSHChannelEventHandler
Afficher le fichier Open project: poderosaproject/poderosa Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
Dump ( string caption, DataFragment data ) : void
Dump ( string caption, byte data, int offset, int length ) : void
TransitStatus ( SFTPChannelStatus newStatus ) : void

Method Details

ClearResponseBuffer() public méthode

Crear response buffer
public ClearResponseBuffer ( ) : void
Résultat void

OnClosed() public méthode

public OnClosed ( bool byServer ) : void
byServer bool
Résultat void

OnData() public méthode

public OnData ( DataFragment data ) : void
data DataFragment
Résultat void

OnError() public méthode

public OnError ( Exception error ) : void
error Exception
Résultat void

OnReady() public méthode

public OnReady ( ) : void
Résultat void

WaitResponse() public méthode

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
Résultat void