C# Class Helios.Reactor.ProxyReactorBase

IReactor implementation which spawns ReactorProxyResponseChannel instances for interacting directly with connected clients
Inheritance: ReactorBase
Exibir arquivo Open project: helios-io/helios

Protected Properties

Property Type Description
SocketMap ReactorResponseChannel>.Dictionary

Protected Methods

Method Description
ProxyReactorBase ( IPAddress localAddress, int localPort, NetworkEventLoop eventLoop, IMessageEncoder encoder, IMessageDecoder decoder, IByteBufAllocator allocator, SocketType socketType = SocketType.Stream, ProtocolType protocol = ProtocolType.Tcp, int bufferSize = NetworkConstants.DEFAULT_BUFFER_SIZE ) : System.Collections.Generic
ReceivedData ( NetworkData availableData, ReactorResponseChannel responseChannel ) : void

Method Details

ProxyReactorBase() protected method

protected ProxyReactorBase ( IPAddress localAddress, int localPort, NetworkEventLoop eventLoop, IMessageEncoder encoder, IMessageDecoder decoder, IByteBufAllocator allocator, SocketType socketType = SocketType.Stream, ProtocolType protocol = ProtocolType.Tcp, int bufferSize = NetworkConstants.DEFAULT_BUFFER_SIZE ) : System.Collections.Generic
localAddress System.Net.IPAddress
localPort int
eventLoop Helios.Net.NetworkEventLoop
encoder IMessageEncoder
decoder IMessageDecoder
allocator IByteBufAllocator
socketType SocketType
protocol ProtocolType
bufferSize int
return System.Collections.Generic

ReceivedData() protected method

protected ReceivedData ( NetworkData availableData, ReactorResponseChannel responseChannel ) : void
availableData Helios.Net.NetworkData
responseChannel Helios.Reactor.Response.ReactorResponseChannel
return void

Property Details

SocketMap protected_oe property

protected Dictionary SocketMap
return ReactorResponseChannel>.Dictionary