C# Class Helios.Net.NetworkEventLoop

IEventLoop implementation intended to be used with Non-blocking I/O (NIO) implementations of IConnection. Uses IFibers and a fixed size threadpool internally.
Inheritance: Helios.Ops.Executors.ThreadedEventLoop
Afficher le fichier Open project: helios-io/helios Class Usage Examples

Méthodes publiques

Méthode Description
Clone ( bool shareFiber = false ) : NetworkEventLoop
NetworkEventLoop ( IExecutor internalExecutor, int workerThreads ) : System
NetworkEventLoop ( IFiber scheduler ) : System
NetworkEventLoop ( int workerThreads ) : System
SetExceptionHandler ( ExceptionCallback callback, IConnection connection ) : void

Method Details

Clone() public méthode

public Clone ( bool shareFiber = false ) : NetworkEventLoop
shareFiber bool
Résultat NetworkEventLoop

NetworkEventLoop() public méthode

public NetworkEventLoop ( IExecutor internalExecutor, int workerThreads ) : System
internalExecutor IExecutor
workerThreads int
Résultat System

NetworkEventLoop() public méthode

public NetworkEventLoop ( IFiber scheduler ) : System
scheduler IFiber
Résultat System

NetworkEventLoop() public méthode

public NetworkEventLoop ( int workerThreads ) : System
workerThreads int
Résultat System

SetExceptionHandler() public méthode

public SetExceptionHandler ( ExceptionCallback callback, IConnection connection ) : void
callback ExceptionCallback
connection IConnection
Résultat void