C# Класс Helios.Reactor.Udp.UdpProxyReactor

Наследование: ProxyReactorBase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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