The Quantum online protocol serializer. More...
Public Member Functions | |
Serializer () | |
Serializer constructor, registers all messages. More... | |
Boolean | PackMessages (BitStream stream, Queue< Message > queue) |
Pack messages into a bitstream. More... | |
Boolean | ReadNext (BitStream s, out Message msg) |
Dispatching of messages. More... | |
Public Attributes | |
String | ProtocolVersion |
The protocol version set internally. More... | |
The Quantum online protocol serializer.
|
inline |
Serializer constructor, registers all messages.
Dispatching of messages.
s | Bitstream to read from. |
msg | Messages being read from the stream |
true
if all messages have been dispatched
|
inline |
Pack messages into a bitstream.
stream | Bitstream to write messages to. |
queue | Queue of messages to process |
true
when queue is emptyInvalidOperationException | Is raised when the batch message size limit was exceeded |
String Photon.Deterministic.Protocol.Serializer.ProtocolVersion |
The protocol version set internally.