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
Mostra file Open project: helios-io/helios Class Usage Examples

Public Methods

Method 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 method

public Clone ( bool shareFiber = false ) : NetworkEventLoop
shareFiber bool
return NetworkEventLoop

NetworkEventLoop() public method

public NetworkEventLoop ( IExecutor internalExecutor, int workerThreads ) : System
internalExecutor IExecutor
workerThreads int
return System

NetworkEventLoop() public method

public NetworkEventLoop ( IFiber scheduler ) : System
scheduler IFiber
return System

NetworkEventLoop() public method

public NetworkEventLoop ( int workerThreads ) : System
workerThreads int
return System

SetExceptionHandler() public method

public SetExceptionHandler ( ExceptionCallback callback, IConnection connection ) : void
callback ExceptionCallback
connection IConnection
return void