#include <NatTraversalAgentDataTypes.h>
Note that in some call scenarios (call pick-up and call park, notably) the URIs that are provided do not contain our proprietary location markers. When a pointer to a RegistrationDB is provided, the EndpointDescriptor will search the Registration DB looking for a Contact entry matching the supplied URI's user hoping to find the location markers that are needed to establish the location of the endpoint.
Public Member Functions | |
| EndpointDescriptor (const Url &url, const NatTraversalRules &natRules, const RegistrationDB *pRegistrationDB=NULL) | |
| const TransportData & | getNativeTransportAddress (void) const |
| const TransportData & | getPublicTransportAddress (void) const |
| LocationCode | getLocationCode (void) const |
| void | toString (UtlString &outputString) const |
Private Member Functions | |
| LocationCode | computeLocation (const Url &url, const NatTraversalRules &natRules, const RegistrationDB *pRegistrationDB) |
| LocationCode | computeLocationFromPublicAndNativeTransports (const NatTraversalRules &natRules) |
| LocationCode | computeLocationFromRegDbData (const Url &url, const NatTraversalRules &natRules, const RegistrationDB *pRegistrationDB) |
| LocationCode | computeLocationFromNetworkTopology (const NatTraversalRules &natRules) |
Private Attributes | |
| NativeTransportData | mNativeTransport |
| PublicTransportData | mPublicTransport |
| LocationCode | mLocation |
| Url | mCurrentContact |
| EndpointDescriptor | ( | const Url & | url, | |
| const NatTraversalRules & | natRules, | |||
| const RegistrationDB * | pRegistrationDB = NULL | |||
| ) |
| const TransportData & getNativeTransportAddress | ( | void | ) | const |
| const TransportData & getPublicTransportAddress | ( | void | ) | const |
| LocationCode getLocationCode | ( | void | ) | const |
| void toString | ( | UtlString & | outputString | ) | const |
| LocationCode computeLocation | ( | const Url & | url, | |
| const NatTraversalRules & | natRules, | |||
| const RegistrationDB * | pRegistrationDB | |||
| ) | [private] |
| LocationCode computeLocationFromPublicAndNativeTransports | ( | const NatTraversalRules & | natRules | ) | [private] |
| LocationCode computeLocationFromRegDbData | ( | const Url & | url, | |
| const NatTraversalRules & | natRules, | |||
| const RegistrationDB * | pRegistrationDB | |||
| ) | [private] |
| LocationCode computeLocationFromNetworkTopology | ( | const NatTraversalRules & | natRules | ) | [private] |
NativeTransportData mNativeTransport [private] |
PublicTransportData mPublicTransport [private] |
LocationCode mLocation [private] |
Url mCurrentContact [private] |