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

Collection of the ISSHPacketInterceptor.
Показать файл Открыть проект

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

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

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

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

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
Результат void

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

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

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

Feed packet to the packet interceptors.
public InterceptPacket ( Granados.IO.DataFragment packet ) : bool
packet Granados.IO.DataFragment a packet object
Результат bool