C# Class Granados.SSH.SSHChannelCollection

An internal class to manage the pair of the ISSHChannel and ISSHChannelEventHandler.
显示文件 Open project: poderosaproject/poderosa

Public Methods

Method Description
Add ( ISSHChannel channel, ISSHChannelEventHandler eventHandler ) : void

Add new channel.

FindHandler ( uint channelNumber ) : ISSHChannelEventHandler

Find channel event handler by a local channel number.

FindOperator ( uint channelNumber ) : ISSHChannel

Find channel by a local channel number.

ForEach ( ISSHChannelEventHandler>.Action action ) : void

Call the specified action on each channel of the collection.

GetNewChannelNumber ( ) : uint

Get the new channel number.

Remove ( ISSHChannel channel ) : void

Remove channel.

SSHChannelCollection ( ) : System

Constructor

Method Details

Add() public method

Add new channel.
public Add ( ISSHChannel channel, ISSHChannelEventHandler eventHandler ) : void
channel ISSHChannel channel
eventHandler ISSHChannelEventHandler channel handler
return void

FindHandler() public method

Find channel event handler by a local channel number.
public FindHandler ( uint channelNumber ) : ISSHChannelEventHandler
channelNumber uint a local channel number
return ISSHChannelEventHandler

FindOperator() public method

Find channel by a local channel number.
public FindOperator ( uint channelNumber ) : ISSHChannel
channelNumber uint a local channel number
return ISSHChannel

ForEach() public method

Call the specified action on each channel of the collection.
public ForEach ( ISSHChannelEventHandler>.Action action ) : void
action ISSHChannelEventHandler>.Action
return void

GetNewChannelNumber() public method

Get the new channel number.
public GetNewChannelNumber ( ) : uint
return uint

Remove() public method

Remove channel.
public Remove ( ISSHChannel channel ) : void
channel ISSHChannel channel
return void

SSHChannelCollection() public method

Constructor
public SSHChannelCollection ( ) : System
return System