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

Inheritance: Renci.SshNet.Channels.ClientChannel
Mostrar archivo Open project: sshnet/SSH.NET Class Usage Examples

Public Methods

Method 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

Protected Methods

Method 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 method

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.
return System

InitializeRemoteChannelInfo() public method

public InitializeRemoteChannelInfo ( uint remoteChannelNumber, uint remoteWindowSize, uint remotePacketSize ) : void
remoteChannelNumber uint
remoteWindowSize uint
remotePacketSize uint
return void

OnClose() protected method

protected OnClose ( ) : void
return void

OnData() protected method

protected OnData ( byte data ) : void
data byte
return void

OnDisconnected() protected method

protected OnDisconnected ( ) : void
return void

OnEof() protected method

protected OnEof ( ) : void
return void

OnErrorOccured() protected method

protected OnErrorOccured ( Exception exp ) : void
exp System.Exception
return void

OnExtendedData() protected method

protected OnExtendedData ( byte data, uint dataTypeCode ) : void
data byte
dataTypeCode uint
return void

OnFailure() protected method

protected OnFailure ( ) : void
return void

OnOpenConfirmation() protected method

protected OnOpenConfirmation ( uint remoteChannelNumber, uint initialWindowSize, uint maximumPacketSize ) : void
remoteChannelNumber uint
initialWindowSize uint
maximumPacketSize uint
return void

OnOpenFailure() protected method

protected OnOpenFailure ( uint reasonCode, string description, string language ) : void
reasonCode uint
description string
language string
return void

OnRequest() protected method

protected OnRequest ( RequestInfo info ) : void
info Renci.SshNet.Messages.Connection.RequestInfo
return void

OnSuccess() protected method

protected OnSuccess ( ) : void
return void

OnWindowAdjust() protected method

protected OnWindowAdjust ( uint bytesToAdd ) : void
bytesToAdd uint
return void

SetIsOpen() public method

public SetIsOpen ( bool value ) : void
value bool
return void