C# 클래스 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.
상속: ReactorResponseChannel
파일 보기 프로젝트 열기: helios-io/helios 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
BeginReceiveInternal ( ) : void
StopReceiveInternal ( ) : void

비공개 메소드들

메소드 설명
SendInternal ( byte buffer, int index, int length, INode remoteHost ) : void

메소드 상세

BeginReceiveInternal() 보호된 메소드

protected BeginReceiveInternal ( ) : void
리턴 void

Configure() 공개 메소드

public Configure ( IConnectionConfig config ) : void
config IConnectionConfig
리턴 void

Send() 공개 메소드

public Send ( NetworkData data ) : void
data Helios.Net.NetworkData
리턴 void

StopReceiveInternal() 보호된 메소드

protected StopReceiveInternal ( ) : void
리턴 void

TcpReactorResponseChannel() 공개 메소드

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
리턴 System

TcpReactorResponseChannel() 공개 메소드

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
리턴 System