C# Class Helios.Channels.Sockets.AbstractSocketChannel.AbstractSocketUnsafe

Inheritance: AbstractUnsafe, ISocketChannelUnsafe
Show file Open project: helios-io/helios

Public Methods

Method Description
ConnectAsync ( EndPoint remoteAddress, EndPoint localAddress ) : System.Threading.Tasks.Task
FinishConnect ( SocketChannelAsyncOperation operation ) : void
FinishRead ( SocketChannelAsyncOperation operation ) : void
FinishWrite ( SocketChannelAsyncOperation operation ) : void

Protected Methods

Method Description
AbstractSocketUnsafe ( AbstractSocketChannel channel ) : System
Flush0 ( ) : void

Private Methods

Method Description
FulfillConnectPromise ( Exception cause ) : void
FulfillConnectPromise ( bool wasActive ) : void
IsFlushPending ( ) : bool

Method Details

AbstractSocketUnsafe() protected method

protected AbstractSocketUnsafe ( AbstractSocketChannel channel ) : System
channel AbstractSocketChannel
return System

ConnectAsync() public final method

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

FinishConnect() public method

public FinishConnect ( SocketChannelAsyncOperation operation ) : void
operation SocketChannelAsyncOperation
return void

FinishRead() public abstract method

public abstract FinishRead ( SocketChannelAsyncOperation operation ) : void
operation SocketChannelAsyncOperation
return void

FinishWrite() public method

public FinishWrite ( SocketChannelAsyncOperation operation ) : void
operation SocketChannelAsyncOperation
return void

Flush0() protected final method

protected final Flush0 ( ) : void
return void