C# Class Helios.Reactor.Udp.UdpProxyReactor

Inheritance: ProxyReactorBase
Afficher le fichier Open project: helios-io/helios

Protected Properties

Свойство Type Description
RemoteEndPoint System.Net.EndPoint

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
StartInternal ( ) : void
StopInternal ( ) : void

Private Methods

Méthode Description
CloseConnection ( Exception reason, IConnection remoteConnection ) : void
CloseConnection ( IConnection remoteHost ) : void
ReceiveCallback ( IAsyncResult ar ) : void
SendCallback ( IAsyncResult ar ) : void

Method Details

Configure() public méthode

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

Dispose() public méthode

public Dispose ( bool disposing ) : void
disposing bool
Résultat void

Send() public méthode

public Send ( byte buffer, int index, int length, INode destination ) : void
buffer byte
index int
length int
destination INode
Résultat void

StartInternal() protected méthode

protected StartInternal ( ) : void
Résultat void

StopInternal() protected méthode

protected StopInternal ( ) : void
Résultat void

UdpProxyReactor() public méthode

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
Résultat System

Property Details

RemoteEndPoint protected_oe property

protected EndPoint,System.Net RemoteEndPoint
Résultat System.Net.EndPoint