C# 클래스 Granados.SSH.SSHChannelCollection

An internal class to manage the pair of the ISSHChannel and ISSHChannelEventHandler.
파일 보기 프로젝트 열기: poderosaproject/poderosa

공개 메소드들

메소드 설명
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