#include <pstun.h>
|
| | PSTUN () |
| |
| virtual | ~PSTUN () |
| |
| virtual PNatMethod::NatTypes | DoRFC3489Discovery (PSTUNUDPSocket *socket, const PIPSocketAddressAndPort &serverAddress, PIPSocketAddressAndPort &baseAddressAndPort, PIPSocketAddressAndPort &externalAddressAndPort) |
| | Determine the NAT type using RFC3489 discovery method. More...
|
| |
| virtual PNatMethod::NatTypes | FinishRFC3489Discovery (PSTUNMessage &responseI, PSTUNUDPSocket *socket, PIPSocketAddressAndPort &externalAddressAndPort) |
| |
| virtual int | MakeAuthenticatedRequest (PSTUNUDPSocket *socket, PSTUNMessage &request, PSTUNMessage &response) |
| |
| virtual bool | GetFromBindingResponse (const PSTUNMessage &response, PIPSocketAddressAndPort &externalAddress) |
| |
| virtual void | AppendMessageIntegrity (PSTUNMessage &message) |
| |
| virtual void | SetCredentials (const PString &username, const PString &password, const PString &realm) |
| |
| virtual const PTimeInterval | GetTimeout () const |
| | Get the timeout for responses from STUN server. More...
|
| |
| virtual void | SetTimeout (const PTimeInterval &timeout) |
| | Set the timeout for responses from STUN server. More...
|
| |
| virtual PINDEX | GetRetries () const |
| | Get the number of retries for responses from STUN server. More...
|
| |
| virtual void | SetRetries (PINDEX retries) |
| | Set the number of retries for responses from STUN server. More...
|
| |
| Enumerator |
|---|
| MinChannelNumber |
|
| MaxChannelNumber |
|
| virtual PSTUN::~PSTUN |
( |
| ) |
|
|
inlinevirtual |
| virtual void PSTUN::AppendMessageIntegrity |
( |
PSTUNMessage & |
message | ) |
|
|
virtual |
Determine the NAT type using RFC3489 discovery method.
| virtual PINDEX PSTUN::GetRetries |
( |
| ) |
const |
|
inlinevirtual |
Get the number of retries for responses from STUN server.
References m_pollRetries.
Get the timeout for responses from STUN server.
References replyTimeout.
| virtual void PSTUN::SetCredentials |
( |
const PString & |
username, |
|
|
const PString & |
password, |
|
|
const PString & |
realm |
|
) |
| |
|
virtual |
- Parameters
-
| realm | If empty the using short term credentials |
| virtual void PSTUN::SetRetries |
( |
PINDEX |
retries | ) |
|
|
inlinevirtual |
Set the number of retries for responses from STUN server.
- Parameters
-
References m_pollRetries.
Set the timeout for responses from STUN server.
- Parameters
-
| timeout | New timeout in milliseconds |
References replyTimeout.
| PINDEX PSTUN::m_pollRetries |
The documentation for this class was generated from the following file: