C# Class Renci.SshNet.Tests.Classes.Channels.ClientChannelStub

Inheritance: Renci.SshNet.Channels.ClientChannel
Afficher le fichier Open project: sshnet/SSH.NET Class Usage Examples

Méthodes publiques

Méthode Description
ClientChannelStub ( ISession session, uint localChannelNumber, uint localWindowSize, uint localPacketSize ) : System

Initializes a new ClientChannelStub instance.

InitializeRemoteChannelInfo ( uint remoteChannelNumber, uint remoteWindowSize, uint remotePacketSize ) : void
SetIsOpen ( bool value ) : void

Méthodes protégées

Méthode Description
OnClose ( ) : void
OnData ( byte data ) : void
OnDisconnected ( ) : void
OnEof ( ) : void
OnErrorOccured ( Exception exp ) : void
OnExtendedData ( byte data, uint dataTypeCode ) : void
OnFailure ( ) : void
OnOpenConfirmation ( uint remoteChannelNumber, uint initialWindowSize, uint maximumPacketSize ) : void
OnOpenFailure ( uint reasonCode, string description, string language ) : void
OnRequest ( RequestInfo info ) : void
OnSuccess ( ) : void
OnWindowAdjust ( uint bytesToAdd ) : void

Method Details

ClientChannelStub() public méthode

Initializes a new ClientChannelStub instance.
public ClientChannelStub ( ISession session, uint localChannelNumber, uint localWindowSize, uint localPacketSize ) : System
session ISession The session.
localChannelNumber uint The local channel number.
localWindowSize uint Size of the window.
localPacketSize uint Size of the packet.
Résultat System

InitializeRemoteChannelInfo() public méthode

public InitializeRemoteChannelInfo ( uint remoteChannelNumber, uint remoteWindowSize, uint remotePacketSize ) : void
remoteChannelNumber uint
remoteWindowSize uint
remotePacketSize uint
Résultat void

OnClose() protected méthode

protected OnClose ( ) : void
Résultat void

OnData() protected méthode

protected OnData ( byte data ) : void
data byte
Résultat void

OnDisconnected() protected méthode

protected OnDisconnected ( ) : void
Résultat void

OnEof() protected méthode

protected OnEof ( ) : void
Résultat void

OnErrorOccured() protected méthode

protected OnErrorOccured ( Exception exp ) : void
exp System.Exception
Résultat void

OnExtendedData() protected méthode

protected OnExtendedData ( byte data, uint dataTypeCode ) : void
data byte
dataTypeCode uint
Résultat void

OnFailure() protected méthode

protected OnFailure ( ) : void
Résultat void

OnOpenConfirmation() protected méthode

protected OnOpenConfirmation ( uint remoteChannelNumber, uint initialWindowSize, uint maximumPacketSize ) : void
remoteChannelNumber uint
initialWindowSize uint
maximumPacketSize uint
Résultat void

OnOpenFailure() protected méthode

protected OnOpenFailure ( uint reasonCode, string description, string language ) : void
reasonCode uint
description string
language string
Résultat void

OnRequest() protected méthode

protected OnRequest ( RequestInfo info ) : void
info Renci.SshNet.Messages.Connection.RequestInfo
Résultat void

OnSuccess() protected méthode

protected OnSuccess ( ) : void
Résultat void

OnWindowAdjust() protected méthode

protected OnWindowAdjust ( uint bytesToAdd ) : void
bytesToAdd uint
Résultat void

SetIsOpen() public méthode

public SetIsOpen ( bool value ) : void
value bool
Résultat void