C# Класс Granados.SSH.SSHChannelCollection

An internal class to manage the pair of the ISSHChannel and ISSHChannelEventHandler.
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Add() публичный Метод

Add new channel.
public Add ( ISSHChannel channel, ISSHChannelEventHandler eventHandler ) : void
channel ISSHChannel channel
eventHandler ISSHChannelEventHandler channel handler
Результат void

FindHandler() публичный Метод

Find channel event handler by a local channel number.
public FindHandler ( uint channelNumber ) : ISSHChannelEventHandler
channelNumber uint a local channel number
Результат ISSHChannelEventHandler

FindOperator() публичный Метод

Find channel by a local channel number.
public FindOperator ( uint channelNumber ) : ISSHChannel
channelNumber uint a local channel number
Результат ISSHChannel

ForEach() публичный Метод

Call the specified action on each channel of the collection.
public ForEach ( ISSHChannelEventHandler>.Action action ) : void
action ISSHChannelEventHandler>.Action
Результат void

GetNewChannelNumber() публичный Метод

Get the new channel number.
public GetNewChannelNumber ( ) : uint
Результат uint

Remove() публичный Метод

Remove channel.
public Remove ( ISSHChannel channel ) : void
channel ISSHChannel channel
Результат void

SSHChannelCollection() публичный Метод

Constructor
public SSHChannelCollection ( ) : System
Результат System