MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / setOnce

Method setOnce

SIP/SIPUtility.h:154–156  ·  view source on GitHub ↗

Set the timer but only if it is not already running.

Source from the content-addressed store, hash-verified

152 }
153 // Set the timer but only if it is not already running.
154 void setOnce(long wLimitTime) {
155 if (!mActive) set(wLimitTime);
156 }
157 // Double the timer value but no more than maxTime. Lots of UDP connection timers in SIP use this.
158 void setDouble(unsigned maxTime=10000) {
159 assert(mLimitTime!=0);

Callers 7

setTimerJMethod · 0.80
setTimerGMethod · 0.80
setTimerHMethod · 0.80
handleSMSResponseMethod · 0.80
moWriteLowSideMethod · 0.80
dialogPushStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected