C# Class Granados.SSH.SSHChannelCollection

An internal class to manage the pair of the ISSHChannel and ISSHChannelEventHandler.
Afficher le fichier Open project: poderosaproject/poderosa

Méthodes publiques

Méthode 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 méthode

Add new channel.
public Add ( ISSHChannel channel, ISSHChannelEventHandler eventHandler ) : void
channel ISSHChannel channel
eventHandler ISSHChannelEventHandler channel handler
Résultat void

FindHandler() public méthode

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

FindOperator() public méthode

Find channel by a local channel number.
public FindOperator ( uint channelNumber ) : ISSHChannel
channelNumber uint a local channel number
Résultat ISSHChannel

ForEach() public méthode

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

GetNewChannelNumber() public méthode

Get the new channel number.
public GetNewChannelNumber ( ) : uint
Résultat uint

Remove() public méthode

Remove channel.
public Remove ( ISSHChannel channel ) : void
channel ISSHChannel channel
Résultat void

SSHChannelCollection() public méthode

Constructor
public SSHChannelCollection ( ) : System
Résultat System