class SIPSequence

SIP CSeq generator. More...

Full nameTelEngine::SIPSequence
Definition#include <libs/ysip/yatesip.h>
InheritsTelEngine::Mutex [public ], TelEngine::RefObject [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Command Sequence Number generator

inline  SIPSequence (int32_t cseq = -1)

SIPSequence

Constructor

Parameters:
cseqSequence 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:
cseqNew sequence number to start from


Generated by: paulc on bussard on Thu Jul 24 18:41:02 2014, using kdoc 2.0a54.