C# Class Helios.Channels.Sockets.TcpServerSocketChannel

Inheritance: AbstractSocketChannel, IServerSocketChannel
Datei anzeigen Open project: helios-io/helios Class Usage Examples

Private Properties

Property Type Description
OnReadCompletedSync void

Public Methods

Method Description
TcpServerSocketChannel ( ) : System

Create a new instance

TcpServerSocketChannel ( AddressFamily addressFamily ) : System

Create a new instance

TcpServerSocketChannel ( Socket socket ) : System

Create a new instance using the given {@link Socket}.

Protected Methods

Method Description
DoBind ( EndPoint localAddress ) : void
DoClose ( ) : void
DoConnect ( EndPoint remoteAddress, EndPoint localAddress ) : bool
DoDisconnect ( ) : void
DoFinishConnect ( SocketChannelAsyncOperation operation ) : void
DoWrite ( ChannelOutboundBuffer input ) : void
FilterOutboundMessage ( object msg ) : object
NewUnsafe ( ) : IChannelUnsafe
ScheduleSocketRead ( ) : void

Private Methods

Method Description
OnReadCompletedSync ( object u, object p ) : void

Method Details

DoBind() protected method

protected DoBind ( EndPoint localAddress ) : void
localAddress System.Net.EndPoint
return void

DoClose() protected method

protected DoClose ( ) : void
return void

DoConnect() protected method

protected DoConnect ( EndPoint remoteAddress, EndPoint localAddress ) : bool
remoteAddress System.Net.EndPoint
localAddress System.Net.EndPoint
return bool

DoDisconnect() protected method

protected DoDisconnect ( ) : void
return void

DoFinishConnect() protected method

protected DoFinishConnect ( SocketChannelAsyncOperation operation ) : void
operation SocketChannelAsyncOperation
return void

DoWrite() protected method

protected DoWrite ( ChannelOutboundBuffer input ) : void
input ChannelOutboundBuffer
return void

FilterOutboundMessage() protected final method

protected final FilterOutboundMessage ( object msg ) : object
msg object
return object

NewUnsafe() protected method

protected NewUnsafe ( ) : IChannelUnsafe
return IChannelUnsafe

ScheduleSocketRead() protected method

protected ScheduleSocketRead ( ) : void
return void

TcpServerSocketChannel() public method

Create a new instance
public TcpServerSocketChannel ( ) : System
return System

TcpServerSocketChannel() public method

Create a new instance
public TcpServerSocketChannel ( AddressFamily addressFamily ) : System
addressFamily AddressFamily
return System

TcpServerSocketChannel() public method

Create a new instance using the given {@link Socket}.
public TcpServerSocketChannel ( Socket socket ) : System
socket Socket
return System