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

Inheritance: Renci.SshNet.Channels.Channel
Show file Open project: sshnet/SSH.NET Class Usage Examples

Public Methods

Method Description
ChannelStub ( ISession session, uint localChannelNumber, uint localWindowSize, uint localPacketSize ) : System

Initializes a new ChannelStub 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
OnRequest ( RequestInfo info ) : void
OnSuccess ( ) : void
OnWindowAdjust ( uint bytesToAdd ) : void

Method Details

ChannelStub() public method

Initializes a new ChannelStub instance.
public ChannelStub ( 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

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