C# Class Helios.Ops.EventLoopFactory

Static factory class for creating IEventLoop instances
Mostra file Open project: helios-io/helios

Public Methods

Method Description
CreateNetworkEventLoop ( int defaultSize = 2, IExecutor internalExecutor = null ) : NetworkEventLoop
CreateThreadedEventLoop ( int defaultSize = 2, IExecutor internalExecutor = null ) : IEventLoop

Method Details

CreateNetworkEventLoop() public static method

public static CreateNetworkEventLoop ( int defaultSize = 2, IExecutor internalExecutor = null ) : NetworkEventLoop
defaultSize int
internalExecutor IExecutor
return Helios.Net.NetworkEventLoop

CreateThreadedEventLoop() public static method

public static CreateThreadedEventLoop ( int defaultSize = 2, IExecutor internalExecutor = null ) : IEventLoop
defaultSize int
internalExecutor IExecutor
return IEventLoop