Planeshift
|
This class holds the structure for guaranteed inbound ordering of certain message types. More...
#include <msghandler.h>
Public Member Functions | |
int | GetCurrentSequenceNumber () |
int | IncrementSequenceNumber () |
OrderedMessageChannel () | |
Public Attributes | |
int | nextSequenceNumber |
csRefArray< MsgEntry > | pendingMessages |
This class holds the structure for guaranteed inbound ordering of certain message types.
We need to track the next sequence number we're expecting (in a range from 1-127, where 0 means unordered) and to queue up the messages we've received early. This is used by Client and ClientMsgHandler classes.
Definition at line 80 of file msghandler.h.
OrderedMessageChannel::OrderedMessageChannel | ( | ) | [inline] |
Definition at line 85 of file msghandler.h.
int OrderedMessageChannel::GetCurrentSequenceNumber | ( | ) | [inline] |
Definition at line 87 of file msghandler.h.
int OrderedMessageChannel::IncrementSequenceNumber | ( | ) | [inline] |
Definition at line 89 of file msghandler.h.
Definition at line 82 of file msghandler.h.
csRefArray<MsgEntry> OrderedMessageChannel::pendingMessages |
Definition at line 83 of file msghandler.h.