C# Class Granados.SSH.SSHPacketInterceptorCollection

Collection of the ISSHPacketInterceptor.
Afficher le fichier Open project: poderosaproject/poderosa

Méthodes publiques

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

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
Résultat void

ForEach() public méthode

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

InterceptPacket() public méthode

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