C# Class Helios.Channels.SingleThreadEventLoop

Single threaded IEventLoop implementation built on top of SingleThreadEventExecutor
Inheritance: Helios.Concurrency.SingleThreadEventExecutor, IEventLoop
Mostra file Open project: helios-io/helios

Public Methods

Method Description
RegisterAsync ( IChannel channel ) : System.Threading.Tasks.Task
SingleThreadEventLoop ( ) : System
SingleThreadEventLoop ( string threadName ) : System
SingleThreadEventLoop ( string threadName, System.TimeSpan breakoutInterval ) : System
Unwrap ( ) : IEventLoop

Method Details

RegisterAsync() public method

public RegisterAsync ( IChannel channel ) : System.Threading.Tasks.Task
channel IChannel
return System.Threading.Tasks.Task

SingleThreadEventLoop() public method

public SingleThreadEventLoop ( ) : System
return System

SingleThreadEventLoop() public method

public SingleThreadEventLoop ( string threadName ) : System
threadName string
return System

SingleThreadEventLoop() public method

public SingleThreadEventLoop ( string threadName, System.TimeSpan breakoutInterval ) : System
threadName string
breakoutInterval System.TimeSpan
return System

Unwrap() public method

public Unwrap ( ) : IEventLoop
return IEventLoop