class SIPSequence
|
SIP CSeq generator. More... |
|
|
Public Methods
Command Sequence Number generator
inline SIPSequence (int32_t cseq = -1)
| SIPSequence |
Constructor
Parameters:
cseq | Sequence number to start
|
inline int32_t getLastCSeq ()
| getLastCSeq |
[const]
Get the last number generated by this sequence
Returns: Last generated CSeq value between 0 and 2^31-1, negative if not initialized
inline int32_t getNextCSeq ()
| getNextCSeq |
Create a CSeq value suitable for use in a new request
Returns: New CSeq value between 1 and 2^31-1
inline void setCSeq (int32_t cseq)
| setCSeq |
Set the Command Sequence number
Parameters:
cseq | New sequence number to start from
|
Generated by: paulc on bussard on Thu Jul 24 18:41:02 2014, using kdoc 2.0a54. |