C# Class Helios.Reactor.Response.TcpReactorResponseChannel

A ReactorResponseChannel instance which manages all of the socket I/O for the child connection directly. Shares the same underlying IFiber as the parent IReactor responsible for creating this child.
Inheritance: ReactorResponseChannel
Afficher le fichier Open project: helios-io/helios Class Usage Examples

Méthodes publiques

Méthode Description
Configure ( IConnectionConfig config ) : void
Send ( NetworkData data ) : void
TcpReactorResponseChannel ( ReactorBase reactor, Socket outboundSocket, IPEndPoint endPoint, NetworkEventLoop eventLoop, int bufferSize = NetworkConstants.DEFAULT_BUFFER_SIZE ) : System
TcpReactorResponseChannel ( ReactorBase reactor, Socket outboundSocket, NetworkEventLoop eventLoop, int bufferSize = NetworkConstants.DEFAULT_BUFFER_SIZE ) : System

Méthodes protégées

Méthode Description
BeginReceiveInternal ( ) : void
StopReceiveInternal ( ) : void

Private Methods

Méthode Description
SendInternal ( byte buffer, int index, int length, INode remoteHost ) : void

Method Details

BeginReceiveInternal() protected méthode

protected BeginReceiveInternal ( ) : void
Résultat void

Configure() public méthode

public Configure ( IConnectionConfig config ) : void
config IConnectionConfig
Résultat void

Send() public méthode

public Send ( NetworkData data ) : void
data Helios.Net.NetworkData
Résultat void

StopReceiveInternal() protected méthode

protected StopReceiveInternal ( ) : void
Résultat void

TcpReactorResponseChannel() public méthode

public TcpReactorResponseChannel ( ReactorBase reactor, Socket outboundSocket, IPEndPoint endPoint, NetworkEventLoop eventLoop, int bufferSize = NetworkConstants.DEFAULT_BUFFER_SIZE ) : System
reactor ReactorBase
outboundSocket Socket
endPoint System.Net.IPEndPoint
eventLoop Helios.Net.NetworkEventLoop
bufferSize int
Résultat System

TcpReactorResponseChannel() public méthode

public TcpReactorResponseChannel ( ReactorBase reactor, Socket outboundSocket, NetworkEventLoop eventLoop, int bufferSize = NetworkConstants.DEFAULT_BUFFER_SIZE ) : System
reactor ReactorBase
outboundSocket Socket
eventLoop Helios.Net.NetworkEventLoop
bufferSize int
Résultat System