C# Class Helios.Channels.Embedded.EmbeddedEventLoop

Inheritance: AbstractEventExecutor, IChannelHandlerInvoker, IEventLoop
Mostra file Open project: helios-io/helios

Public Methods

Method Description
Execute ( IRunnable command ) : void
GracefulShutdownAsync ( System.TimeSpan quietPeriod, System.TimeSpan timeout ) : Task
InvokeBindAsync ( IChannelHandlerContext ctx, EndPoint localAddress ) : Task
InvokeChannelActive ( IChannelHandlerContext ctx ) : void
InvokeChannelInactive ( IChannelHandlerContext ctx ) : void
InvokeChannelRead ( IChannelHandlerContext ctx, object msg ) : void
InvokeChannelReadComplete ( IChannelHandlerContext ctx ) : void
InvokeChannelRegistered ( IChannelHandlerContext ctx ) : void
InvokeChannelUnregistered ( IChannelHandlerContext ctx ) : void
InvokeChannelWritabilityChanged ( IChannelHandlerContext ctx ) : void
InvokeCloseAsync ( IChannelHandlerContext ctx ) : Task
InvokeConnectAsync ( IChannelHandlerContext ctx, EndPoint remoteAddress, EndPoint localAddress ) : Task
InvokeDeregisterAsync ( IChannelHandlerContext ctx ) : Task
InvokeDisconnectAsync ( IChannelHandlerContext ctx ) : Task
InvokeExceptionCaught ( IChannelHandlerContext ctx, Exception cause ) : void
InvokeFlush ( IChannelHandlerContext ctx ) : void
InvokeRead ( IChannelHandlerContext ctx ) : void
InvokeUserEventTriggered ( IChannelHandlerContext ctx, object evt ) : void
InvokeWriteAsync ( IChannelHandlerContext ctx, object msg ) : Task
IsInEventLoop ( Thread thread ) : bool
RegisterAsync ( IChannel channel ) : Task
Unwrap ( ) : IEventExecutor

Private Methods

Method Description
IEventExecutor ( ) : IEventExecutor
IEventLoop ( ) : IEventLoop
RunTasks ( ) : void

Method Details

Execute() public method

public Execute ( IRunnable command ) : void
command IRunnable
return void

GracefulShutdownAsync() public method

public GracefulShutdownAsync ( System.TimeSpan quietPeriod, System.TimeSpan timeout ) : Task
quietPeriod System.TimeSpan
timeout System.TimeSpan
return Task

InvokeBindAsync() public method

public InvokeBindAsync ( IChannelHandlerContext ctx, EndPoint localAddress ) : Task
ctx IChannelHandlerContext
localAddress System.Net.EndPoint
return Task

InvokeChannelActive() public method

public InvokeChannelActive ( IChannelHandlerContext ctx ) : void
ctx IChannelHandlerContext
return void

InvokeChannelInactive() public method

public InvokeChannelInactive ( IChannelHandlerContext ctx ) : void
ctx IChannelHandlerContext
return void

InvokeChannelRead() public method

public InvokeChannelRead ( IChannelHandlerContext ctx, object msg ) : void
ctx IChannelHandlerContext
msg object
return void

InvokeChannelReadComplete() public method

public InvokeChannelReadComplete ( IChannelHandlerContext ctx ) : void
ctx IChannelHandlerContext
return void

InvokeChannelRegistered() public method

public InvokeChannelRegistered ( IChannelHandlerContext ctx ) : void
ctx IChannelHandlerContext
return void

InvokeChannelUnregistered() public method

public InvokeChannelUnregistered ( IChannelHandlerContext ctx ) : void
ctx IChannelHandlerContext
return void

InvokeChannelWritabilityChanged() public method

public InvokeChannelWritabilityChanged ( IChannelHandlerContext ctx ) : void
ctx IChannelHandlerContext
return void

InvokeCloseAsync() public method

public InvokeCloseAsync ( IChannelHandlerContext ctx ) : Task
ctx IChannelHandlerContext
return Task

InvokeConnectAsync() public method

public InvokeConnectAsync ( IChannelHandlerContext ctx, EndPoint remoteAddress, EndPoint localAddress ) : Task
ctx IChannelHandlerContext
remoteAddress System.Net.EndPoint
localAddress System.Net.EndPoint
return Task

InvokeDeregisterAsync() public method

public InvokeDeregisterAsync ( IChannelHandlerContext ctx ) : Task
ctx IChannelHandlerContext
return Task

InvokeDisconnectAsync() public method

public InvokeDisconnectAsync ( IChannelHandlerContext ctx ) : Task
ctx IChannelHandlerContext
return Task

InvokeExceptionCaught() public method

public InvokeExceptionCaught ( IChannelHandlerContext ctx, Exception cause ) : void
ctx IChannelHandlerContext
cause System.Exception
return void

InvokeFlush() public method

public InvokeFlush ( IChannelHandlerContext ctx ) : void
ctx IChannelHandlerContext
return void

InvokeRead() public method

public InvokeRead ( IChannelHandlerContext ctx ) : void
ctx IChannelHandlerContext
return void

InvokeUserEventTriggered() public method

public InvokeUserEventTriggered ( IChannelHandlerContext ctx, object evt ) : void
ctx IChannelHandlerContext
evt object
return void

InvokeWriteAsync() public method

public InvokeWriteAsync ( IChannelHandlerContext ctx, object msg ) : Task
ctx IChannelHandlerContext
msg object
return Task

IsInEventLoop() public method

public IsInEventLoop ( Thread thread ) : bool
thread Thread
return bool

RegisterAsync() public method

public RegisterAsync ( IChannel channel ) : Task
channel IChannel
return Task

Unwrap() public method

public Unwrap ( ) : IEventExecutor
return IEventExecutor