C# 클래스 Helios.Channels.AbstractChannel.AbstractUnsafe

IChannelUnsafe implementation which sub-classes must extend and use.
상속: IChannelUnsafe
파일 보기 프로젝트 열기: helios-io/helios

공개 프로퍼티들

프로퍼티 타입 설명
InvokeWritabilityChanged System.Action
InvokeWritabilityChangedUnsafe Action

보호된 프로퍼티들

프로퍼티 타입 설명
_channel AbstractChannel

공개 메소드들

메소드 설명
BeginRead ( ) : void
BindAsync ( EndPoint localAddress ) : System.Threading.Tasks.Task
CloseAsync ( ) : System.Threading.Tasks.Task
CloseForcibly ( ) : void
ConnectAsync ( EndPoint remoteAddress, EndPoint localAddress ) : System.Threading.Tasks.Task
DeregisterAsync ( ) : System.Threading.Tasks.Task

This method must NEVER be called directly, but be executed as an extra task with a clean call stack instead. The reason for this is that this method calls {@link ChannelPipeline#fireChannelUnregistered()} directly, which might lead to an unfortunate nesting of independent inbound/outbound events. See the comments input {@link #invokeLater(Runnable)} for more details.

DisconnectAsync ( ) : System.Threading.Tasks.Task
Flush ( ) : void
RegisterAsync ( IEventLoop eventLoop ) : System.Threading.Tasks.Task
SafeSetSuccess ( TaskCompletionSource promise ) : void
WriteAsync ( object msg ) : System.Threading.Tasks.Task

보호된 메소드들

메소드 설명
AbstractUnsafe ( AbstractChannel channel ) : System
AnnotateConnectException ( Exception exception, EndPoint remoteAddress ) : Exception
CloseIfClosed ( ) : void
CreateClosedChannelExceptionTask ( ) : System.Threading.Tasks.Task
EnsureOpen ( TaskCompletionSource promise ) : bool
Flush0 ( ) : void

비공개 메소드들

메소드 설명
DoClose0 ( TaskCompletionSource promise ) : void
FireChannelInactiveAndDeregister ( bool wasActive ) : void
InvokeLater ( System.Action task ) : void
Register0 ( TaskCompletionSource promise ) : void
SafeSetFailure ( TaskCompletionSource promise, Exception cause ) : void

메소드 상세

AbstractUnsafe() 보호된 메소드

protected AbstractUnsafe ( AbstractChannel channel ) : System
channel AbstractChannel
리턴 System

AnnotateConnectException() 보호된 메소드

protected AnnotateConnectException ( Exception exception, EndPoint remoteAddress ) : Exception
exception System.Exception
remoteAddress System.Net.EndPoint
리턴 System.Exception

BeginRead() 공개 메소드

public BeginRead ( ) : void
리턴 void

BindAsync() 공개 메소드

public BindAsync ( EndPoint localAddress ) : System.Threading.Tasks.Task
localAddress System.Net.EndPoint
리턴 System.Threading.Tasks.Task

CloseAsync() 공개 메소드

public CloseAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

CloseForcibly() 공개 메소드

public CloseForcibly ( ) : void
리턴 void

CloseIfClosed() 보호된 메소드

protected CloseIfClosed ( ) : void
리턴 void

ConnectAsync() 공개 추상적인 메소드

public abstract ConnectAsync ( EndPoint remoteAddress, EndPoint localAddress ) : System.Threading.Tasks.Task
remoteAddress System.Net.EndPoint
localAddress System.Net.EndPoint
리턴 System.Threading.Tasks.Task

CreateClosedChannelExceptionTask() 보호된 메소드

protected CreateClosedChannelExceptionTask ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

DeregisterAsync() 공개 메소드

This method must NEVER be called directly, but be executed as an extra task with a clean call stack instead. The reason for this is that this method calls {@link ChannelPipeline#fireChannelUnregistered()} directly, which might lead to an unfortunate nesting of independent inbound/outbound events. See the comments input {@link #invokeLater(Runnable)} for more details.
public DeregisterAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

DisconnectAsync() 공개 메소드

public DisconnectAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

EnsureOpen() 보호된 메소드

protected EnsureOpen ( TaskCompletionSource promise ) : bool
promise TaskCompletionSource
리턴 bool

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

Flush0() 보호된 메소드

protected Flush0 ( ) : void
리턴 void

RegisterAsync() 공개 메소드

public RegisterAsync ( IEventLoop eventLoop ) : System.Threading.Tasks.Task
eventLoop IEventLoop
리턴 System.Threading.Tasks.Task

SafeSetSuccess() 공개 메소드

public SafeSetSuccess ( TaskCompletionSource promise ) : void
promise TaskCompletionSource
리턴 void

WriteAsync() 공개 메소드

public WriteAsync ( object msg ) : System.Threading.Tasks.Task
msg object
리턴 System.Threading.Tasks.Task

프로퍼티 상세

InvokeWritabilityChanged 공개적으로 프로퍼티

public Action,System InvokeWritabilityChanged
리턴 System.Action

InvokeWritabilityChangedUnsafe 공개적으로 정적으로 프로퍼티

public static Action InvokeWritabilityChangedUnsafe
리턴 Action

_channel 보호되어 있는 프로퍼티

protected AbstractChannel,Helios.Channels _channel
리턴 AbstractChannel