C# 클래스 Helios.Reactor.Udp.UdpProxyReactor

상속: ProxyReactorBase
파일 보기 프로젝트 열기: helios-io/helios

보호된 프로퍼티들

프로퍼티 타입 설명
RemoteEndPoint System.Net.EndPoint

공개 메소드들

메소드 설명
Configure ( IConnectionConfig config ) : void
Dispose ( bool disposing ) : void
Send ( byte buffer, int index, int length, INode destination ) : void
UdpProxyReactor ( IPAddress localAddress, int localPort, NetworkEventLoop eventLoop, IMessageEncoder encoder, IMessageDecoder decoder, IByteBufAllocator allocator, int bufferSize = NetworkConstants.DEFAULT_BUFFER_SIZE ) : System

보호된 메소드들

메소드 설명
StartInternal ( ) : void
StopInternal ( ) : void

비공개 메소드들

메소드 설명
CloseConnection ( Exception reason, IConnection remoteConnection ) : void
CloseConnection ( IConnection remoteHost ) : void
ReceiveCallback ( IAsyncResult ar ) : void
SendCallback ( IAsyncResult ar ) : void

메소드 상세

Configure() 공개 메소드

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

Dispose() 공개 메소드

public Dispose ( bool disposing ) : void
disposing bool
리턴 void

Send() 공개 메소드

public Send ( byte buffer, int index, int length, INode destination ) : void
buffer byte
index int
length int
destination INode
리턴 void

StartInternal() 보호된 메소드

protected StartInternal ( ) : void
리턴 void

StopInternal() 보호된 메소드

protected StopInternal ( ) : void
리턴 void

UdpProxyReactor() 공개 메소드

public UdpProxyReactor ( IPAddress localAddress, int localPort, NetworkEventLoop eventLoop, IMessageEncoder encoder, IMessageDecoder decoder, IByteBufAllocator allocator, int bufferSize = NetworkConstants.DEFAULT_BUFFER_SIZE ) : System
localAddress System.Net.IPAddress
localPort int
eventLoop Helios.Net.NetworkEventLoop
encoder IMessageEncoder
decoder IMessageDecoder
allocator IByteBufAllocator
bufferSize int
리턴 System

프로퍼티 상세

RemoteEndPoint 보호되어 있는 프로퍼티

protected EndPoint,System.Net RemoteEndPoint
리턴 System.Net.EndPoint