C# Class Granados.SSH.SSHPacketInterceptorCollection

Collection of the ISSHPacketInterceptor.
ファイルを表示 Open project: poderosaproject/poderosa

Public Methods

Method Description
Add ( ISSHPacketInterceptor interceptor ) : void

Add packet interceptor to the collection.

Do nothing if the packet interceptor already exists in the collection.

ForEach ( Action action ) : void

Call the specified action on each interceptor of the collection.

InterceptPacket ( Granados.IO.DataFragment packet ) : bool

Feed packet to the packet interceptors.

Method Details

Add() public method

Add packet interceptor to the collection.
Do nothing if the packet interceptor already exists in the collection.
public Add ( ISSHPacketInterceptor interceptor ) : void
interceptor ISSHPacketInterceptor a packet interceptor
return void

ForEach() public method

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

InterceptPacket() public method

Feed packet to the packet interceptors.
public InterceptPacket ( Granados.IO.DataFragment packet ) : bool
packet Granados.IO.DataFragment a packet object
return bool