Public Member Functions | |
| StunClient (const UtlString &stunServer) | |
| virtual | ~StunClient () |
| bool | getPublicIpAddress (UtlString &discoveredPublicIpAddress) |
| void | maintainPublicIpAddressCurrent (NatTraversalRules *pNatTraversalRulesToKeepCurrent, int refreshIntervalInSecs, const UtlString &publicIpAddressHint) |
| virtual void | requestShutdown (void) |
Protected Member Functions | |
| virtual int | run (void *runArg) |
Private Attributes | |
| OsMutex | mTimerMutex |
| OsStunQueryAgent | stunQueryAgent |
| OsStunDatagramSocket | mSocket |
| NatTraversalRules * | mpNatTraversalRules |
| NatTraversalRules * | mpNatTraversalRulesToKeepCurrent |
| UtlString | mPublicIpAddressObtainedFromLastPoll |
| UtlString | mStunServerName |
| bool | mbStunServerIsValid |
| StunClient | ( | const UtlString & | stunServer | ) |
| ~StunClient | ( | ) | [virtual] |
| bool getPublicIpAddress | ( | UtlString & | discoveredPublicIpAddress | ) |
| void maintainPublicIpAddressCurrent | ( | NatTraversalRules * | pNatTraversalRulesToKeepCurrent, | |
| int | refreshIntervalInSecs, | |||
| const UtlString & | publicIpAddressHint | |||
| ) |
| void requestShutdown | ( | void | ) | [virtual] |
| int run | ( | void * | runArg | ) | [protected, virtual] |
OsMutex mTimerMutex [private] |
OsStunQueryAgent stunQueryAgent [private] |
OsStunDatagramSocket mSocket [private] |
NatTraversalRules* mpNatTraversalRules [private] |
UtlString mStunServerName [private] |
bool mbStunServerIsValid [private] |