#include <remote.h>
Public Member Functions | |
IAX2FrameIdValue (PINDEX timeStamp, PINDEX seqVal) | |
IAX2FrameIdValue (PINDEX val) | |
PINDEX | GetTimeStamp () const |
PINDEX | GetSequenceVal () const |
PINDEX | GetPlainSequence () const |
virtual void | PrintOn (ostream &strm) const |
virtual Comparison | Compare (const PObject &obj) const |
Protected Attributes | |
PUInt64 | value |
This class will be used as a key into the sorted list, which is declared below (PacketIdList). This class is required because pwlib's dictionaries requires the key to be a descendant from a PObject
The 32 bit timestamp is left shifted by 8 bits, and the result is added to the 8 bit seqno value
|
Constructor. to timestamp<<8 + sequenceNumber |
|
Constructor to some value |
|
Declare this method so that all comparisons (as used in sorted lists) work. correctly |
|
Retrieve the bottom 32 bits. In this call, the data is assumed to be no timestamp, and sequence number could be > 255. This is used for the iseqno of transmitted packets |
|
Retrieve this sequence number. |
|
Retrieve this timestamp |
|
Pretty print this data to the designated stream |
|
The combination of time and sequence number is stored in this element, which is a pwlib construct of 64 bits |