NormalConnectionReceiver
A class in Root.Township, Alta.Networking.Internal.
Connection receiver that handles every message in a packet straight away, with no queueing. Always used on the server, and on clients for channels set to Normal.
- Listed in Networking and servers
- Inherits or implements
ConnectionReceiver
Constructors
| Member | What it is |
|---|---|
NormalConnectionReceiver(Connection connection, ConnectionChannel channel) | Creates a NormalConnectionReceiver from connection and channel. |
Methods
| Member | What it is |
|---|---|
override void ProcessExistingQueues() | Does nothing, as nothing is queued. |
override void ReceivePacket(ITransportSocket socket, ArraySegment<byte> data) | Handles each message in the packet in turn through MessageProcessor. |