11 #ifndef _CSeqManager_h_ 12 #define _CSeqManager_h_ 17 #include "utl/UtlHashMap.h" 18 #include "utl/UtlRandom.h" 19 #include "utl/UtlString.h" 20 #include "os/OsMutex.h" 23 #define CSEQ_MANAGER_STATE_CHECKS 24 #undef CSEQ_MANAGER_STATE_CHECKS 26 #define CSEQ_ID_INVITE "INVITE" 27 #define CSEQ_ID_INFO "INFO" 28 #define CSEQ_ID_NOTIFY "NOTIFY" 29 #define CSEQ_ID_REFER "REFER" 30 #define CSEQ_ID_OPTIONS "OPTIONS" 79 bool startTransaction(
const char* szIdentifier,
int&
iCSeq) ;
84 bool endTransaction(
const char* szIdentifier) ;
89 void dumpState(UtlString& state) ;
96 int getCSeqNumber(
const char* szIdentifier) ;
103 bool isInTransaction(
const char* szIdentifier) ;
131 #endif // _CSeqManager_h_ CSeqManager manages the CSeq number space for a dialog.
Definition: CSeqManager.h:53
int miCSeq
Definition: CSeqManager.h:110
bool bInTransaction
Definition: CSeqManager.h:41
Definition: CSeqManager.h:38
UtlHashMap mHashMap
Definition: CSeqManager.h:107
struct CSEQ_CONTEXT CSEQ_CONTEXT
int iCSeq
Definition: CSeqManager.h:42
OsMutex mGuard
Definition: CSeqManager.h:109
UtlString identifier
Definition: CSeqManager.h:40
UtlRandom mRandomGenerator
Definition: CSeqManager.h:108