CSIPRegistrationBindingStore Class Reference
class CSIPRegistrationBindingStore : public CBase
|
Inherits from
-
CSIPRegistrationBindingStore
Constructor & Destructor Documentation
CSIPRegistrationBindingStore(CSIPRegistrarStore &)
~CSIPRegistrationBindingStore()
~CSIPRegistrationBindingStore
|
(
|
)
|
|
Member Functions Documentation
AddBindingL(CSIPRegistrationBindingBase *)
CheckRequestURI(CURIContainer &)
Checks if the RequestURI passed as a parameter equals to the Uri in one of contact headers in the bindings.
ClearRegistrationOwner(const MRegistrationOwner *)
when registration owner stored in binding is same as the one passed as parameter. remove the binding if the binding is not pending, otherwise assign RegistrationOwner contained in binding to 0.
CompareUri(const CURIContainer &, CURIContainer &)
Compares the two URIs It checks the host part and port part of the URI If the port is default port, the check is ignored
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
DetachBinding(CSIPRegistrationBindingBase *)
FindBinding(const MRegistrationOwner &, CSIPRequest &)
FindBinding(const TRegistrationId &, const MRegistrationOwner *)
Find the binding by ID and owner.
FindBindingForTransaction(const TTransactionId &)
Find a registration binding by transaction id.
FindContactByFromL(const CSIPFromToHeaderBase *, CSIPContactHeader &)
Fills the hostport in the Contact-header. If the user part is not filled in the Contact-header, fills it with a copy from a registration binding found
HasOutboundProxy(TRegistrationId)
check if OutboundProxy exists from the binding by passing TRegistrationId.
IsOutboundProxy(const CURIContainer &)
Function checks if the given SIP-URI is a URI of ANY outbound proxy stored in Registrations.
NewL(CSIPRegistrarStore &)
NewLC(CSIPRegistrarStore &)
NextRegistrationId()
Get next TRegistrationId.
OutboundProxy(TRegistrationId)
Get OutboundProxy from the binding found by passing TRegistrationId.
-
Pre-condition
-
HasOutboundProxy(aRegistrationId) == ETrue
RegisterPendingToAOR(const CURIContainer &)
find pending registrtions to the same AOR given as parameter.
RemoveBinding(const CSIPRegistrationBindingBase *)
Remove the binding by giving a CSIPRegistrationBaseClass.
RemoveBinding(const TRegistrationId &, const MRegistrationOwner *)
Remove the binding by giving a registraion id.
RemoveBindingByIAPId(const TUint32)
void
|
RemoveBindingByIAPId
|
(
|
const
TUint32
|
aIapId
|
)
|
|
Remove the binding by giving a IAP id.
RemoveOutboundProxy(const TRegistrationId &, const MRegistrationOwner *)
Remove the OutboundProxy from the binding if it can be found by using the registrationid passed as parameter.
SetOutboundProxyL(const TRegistrationId &, CSIPRouteHeader *, const MRegistrationOwner *)
Function sets an outbound proxy for a registration binding. Leaves if the binding was not found.
-
Pre-condition
-
aOutboundProxy != 0
URIFailed(CURIContainer &)
Resolving or sending a SIP request to a URI has failed. If this is an outbound proxy URI of an existing registration binding, removes the corresponding binding immediately.
Member Data Documentation
RPointerArray< CSIPRegistrationBindingBase > iBindings
TRegistrationId
iNextRegistrationId
CSIPRegistrarStore & iRegistrarStore
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.