C# Class Helios.Channels.AbstractChannelHandlerContext

Inheritance: IChannelHandlerContext
Datei anzeigen Open project: helios-io/helios Class Usage Examples

Private Properties

Property Type Description
CalculateSkipPropagationFlags int
FindContextInbound AbstractChannelHandlerContext
FindContextOutbound AbstractChannelHandlerContext

Public Methods

Method Description
BindAsync ( EndPoint localAddress ) : Task
CloseAsync ( ) : Task
ConnectAsync ( EndPoint remoteAddress ) : Task
ConnectAsync ( EndPoint remoteAddress, EndPoint localAddress ) : Task
DeregisterAsync ( ) : Task
DisconnectAsync ( ) : Task
FireChannelActive ( ) : IChannelHandlerContext
FireChannelInactive ( ) : IChannelHandlerContext
FireChannelRead ( object message ) : IChannelHandlerContext
FireChannelReadComplete ( ) : IChannelHandlerContext
FireChannelRegistered ( ) : IChannelHandlerContext
FireChannelUnregistered ( ) : IChannelHandlerContext
FireChannelWritabilityChanged ( ) : IChannelHandlerContext
FireExceptionCaught ( Exception ex ) : IChannelHandlerContext
FireUserEventTriggered ( object evt ) : IChannelHandlerContext
Flush ( ) : IChannelHandlerContext
Read ( ) : IChannelHandlerContext
ToString ( ) : string
WriteAndFlushAsync ( object message ) : Task
WriteAsync ( object message ) : Task

Protected Methods

Method Description
AbstractChannelHandlerContext ( DefaultChannelPipeline pipeline, IChannelHandlerInvoker invoker, string name, int skipPropagationFlags ) : System
GetSkipPropagationFlags ( IChannelHandler handler ) : int
IsSkippable ( Type handlerType, string methodName ) : bool

Private Methods

Method Description
CalculateSkipPropagationFlags ( Type handlerType ) : int
FindContextInbound ( ) : AbstractChannelHandlerContext
FindContextOutbound ( ) : AbstractChannelHandlerContext

Method Details

AbstractChannelHandlerContext() protected method

protected AbstractChannelHandlerContext ( DefaultChannelPipeline pipeline, IChannelHandlerInvoker invoker, string name, int skipPropagationFlags ) : System
pipeline DefaultChannelPipeline
invoker IChannelHandlerInvoker
name string
skipPropagationFlags int
return System

BindAsync() public method

public BindAsync ( EndPoint localAddress ) : Task
localAddress System.Net.EndPoint
return Task

CloseAsync() public method

public CloseAsync ( ) : Task
return Task

ConnectAsync() public method

public ConnectAsync ( EndPoint remoteAddress ) : Task
remoteAddress System.Net.EndPoint
return Task

ConnectAsync() public method

public ConnectAsync ( EndPoint remoteAddress, EndPoint localAddress ) : Task
remoteAddress System.Net.EndPoint
localAddress System.Net.EndPoint
return Task

DeregisterAsync() public method

public DeregisterAsync ( ) : Task
return Task

DisconnectAsync() public method

public DisconnectAsync ( ) : Task
return Task

FireChannelActive() public method

public FireChannelActive ( ) : IChannelHandlerContext
return IChannelHandlerContext

FireChannelInactive() public method

public FireChannelInactive ( ) : IChannelHandlerContext
return IChannelHandlerContext

FireChannelRead() public method

public FireChannelRead ( object message ) : IChannelHandlerContext
message object
return IChannelHandlerContext

FireChannelReadComplete() public method

public FireChannelReadComplete ( ) : IChannelHandlerContext
return IChannelHandlerContext

FireChannelRegistered() public method

public FireChannelRegistered ( ) : IChannelHandlerContext
return IChannelHandlerContext

FireChannelUnregistered() public method

public FireChannelUnregistered ( ) : IChannelHandlerContext
return IChannelHandlerContext

FireChannelWritabilityChanged() public method

public FireChannelWritabilityChanged ( ) : IChannelHandlerContext
return IChannelHandlerContext

FireExceptionCaught() public method

public FireExceptionCaught ( Exception ex ) : IChannelHandlerContext
ex System.Exception
return IChannelHandlerContext

FireUserEventTriggered() public method

public FireUserEventTriggered ( object evt ) : IChannelHandlerContext
evt object
return IChannelHandlerContext

Flush() public method

public Flush ( ) : IChannelHandlerContext
return IChannelHandlerContext

GetSkipPropagationFlags() protected static method

protected static GetSkipPropagationFlags ( IChannelHandler handler ) : int
handler IChannelHandler
return int

IsSkippable() protected static method

protected static IsSkippable ( Type handlerType, string methodName ) : bool
handlerType System.Type
methodName string
return bool

Read() public method

public Read ( ) : IChannelHandlerContext
return IChannelHandlerContext

ToString() public method

public ToString ( ) : string
return string

WriteAndFlushAsync() public method

public WriteAndFlushAsync ( object message ) : Task
message object
return Task

WriteAsync() public method

public WriteAsync ( object message ) : Task
message object
return Task