C# Class Helios.Channels.DefaultChannelHandlerInvoker

Inheritance: IChannelHandlerInvoker
ファイルを表示 Open project: helios-io/helios Class Usage Examples

Public Methods

Method Description
DefaultChannelHandlerInvoker ( IEventExecutor executor ) : System
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

Private Methods

Method Description
SafeExecuteOutbound ( IRunnable task, TaskCompletionSource promise, object msg ) : void
SafeExecuteOutboundAsync ( Func function ) : Task
SafeProcessInboundMessage ( object>.Action action, object state, object msg ) : void

Method Details

DefaultChannelHandlerInvoker() public method

public DefaultChannelHandlerInvoker ( IEventExecutor executor ) : System
executor IEventExecutor
return System

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