CSIPRegistrationBindingBase Class Reference

class CSIPRegistrationBindingBase : public CBase

base class of registration binding.

Inherits from

  • CSIPRegistrationBindingBase
Public Member Functions
~CSIPRegistrationBindingBase()
const CSIPToHeader &AOR()
TBool ByPassSIPSec()
voidChangeState(CSIPRegistrationState *)
voidClearRequest()
TBool CompareWithRegisterRequest(const MRegistrationOwner &, CSIPRequest &)
CSIPContactHeader &Contact()
CSIPRegistrationState &CurrentState()
voidDetachFromStore()
voidDoRegisterL(TTransactionId &, CSIPRequest *, CSIPRouteHeader *)
voidDoUnregisterL(TTransactionId &, CSIPRequest *)
voidDoUpdateL(TTransactionId &, CSIPRequest *)
voidFillToFromL(CSIPRequest &)
TSIPTransportParams FillTransportParams()
TBool FindContactByFromL(const CSIPFromToHeaderBase *, CSIPContactHeader &)
voidFlowFailure(TInt)
TBool HasOutboundProxy()
TBool HasTransaction(const TTransactionId &)
TUint32 IAPId()
TBool IsCacheOutboundProxyIPEnabled()
TBool IsRefresh()
const CSIPRouteHeader *OutboundProxy()
voidOutboundProxyFailed()
CSIPRouteHeader &OutboundProxyIPL()
const MRegistrationOwner *Owner()
const CSIPPAssociatedURIHeader *PAssociatedURIHeader()
TBool PassOnlyRealmsToUser()
voidReceived2XXResponseL(CSIPResponse &, TTransactionId)
voidReceived423ResponseL(CSIPResponse &)
voidReceivedErrorResponseL()
TRefreshId RefreshId()
voidRegisterL(TTransactionId &, CSIPRequest *, CSIPRouteHeader *)
TBool RegisterPending()
CSIPRegistrar *Registrar()
TRegistrationId RegistrationId()
TInt RemoveOutboundProxy()
CSIPRequest *Request()
voidRequestCredentialsL(const TDesC8 &)
voidRequestCredentialsL(CSIPResponse &, TTransactionId, TRefreshId)
RPointerArray< CSIPRouteHeader > &RouteSet()
voidSelfDetach(TBool)
voidSelfDetach(TBool, TBool)
TBool ServiceRouteOk(CSIPResponse &)
voidSetExpiresValueL(CSIPRequest &)
voidSetOutboundProxy(CSIPRouteHeader *)
voidSetOutboundProxyL(CSIPRouteHeader *)
voidSetRequest(CSIPRequest *)
voidSetRouteHeaderFromResponseL(CSIPResponse &)
TUint32 SigCompCompartmentId()
const MSIPSecUser *TrustedUser(TRegistrationId)
voidUnregisterL(TTransactionId &, CSIPRequest *)
voidUpdateContactFromRequestL()
voidUpdateL(TTransactionId &, CSIPRequest *)
Protected Member Functions
CSIPRegistrationBindingBase(MTransactionUser &, MSigComp &, CSIPSec &, CSIPRegistrationBindingStore &, MRegistrationOwner *, MSIPSecUser &, MSIPTransportMgr &, TBool, TBool)
voidConstructL(CSIPRequest *, CURIContainer &)
voidCreateProxyTransportResourcesL(CSIPRouteHeader &)
voidDetachOutboundProxy(TAny *)
TInt RemoveBinding()
Private Member Functions
HBufC8 *ConvertInetAddrToTextL(const TInetAddr &)
voidFreeProxyTransportResources()
TBool HasSigCompParameter(const CSIPURI &)
voidInitializeStatesL()
voidSetContactHeaderL(CSIPRequest &)
voidSetFromHeaderL(CSIPRequest &)
voidSetMinExpiresToRequestL(CSIPResponse &)
TInt SetOutboundProxyIPL(const TTransactionId &)
voidSetPAssociatedURIFromResponseL(CSIPResponse &)
voidSetToHeaderL(CSIPRequest &)
voidUpdateBindingFromResponseL(CSIPResponse &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Protected Attributes
CSIPContactHeader *iContact
CSIPRegistrationState *iCurrentState
MRegistrationOwner *iOwner
CSIPRegistered *iRegistered
CSIPRegistering *iRegistering
CSIPRegistrar *iRegistrar
TRegistrationId iRegistrationId
CURIContainer *iRemoteTarget
CSIP423ResponseReceived *iResponse423Received
TTransactionId iRetryTransactionId
RPointerArray< CSIPRouteHeader >iRouteSet
MSIPSecUser &iSIPSecUser
TUint32 iSigCompCompartmentId
TTransactionId iTransactionId
MTransactionUser &iTransactionUser
TUint32 iTransportId
CSIPUnregistered *iUnregistered
CSIPUnregistering *iUnregistering
CSIPRegisterUpdating *iUpdating
Private Attributes
CSIPRegistrationBindingStore &iBindingStore
TBool iCacheOutboundProxyIP
CSIPFromHeader *iFrom
CSIPRouteHeader *iOutboundProxy
CSIPRouteHeader *iOutboundProxyIP
CSIPPAssociatedURIHeader *iPAssociatedURIHeader
CSIPRequest *iRequest
CSIPSec &iSIPSec
TBool iSendWithExpires
MSigComp &iSigComp
CSIPToHeader *iTo
MSIPTransportMgr &iTransportMgr

Constructor & Destructor Documentation

CSIPRegistrationBindingBase(MTransactionUser &, MSigComp &, CSIPSec &, CSIPRegistrationBindingStore &, MRegistrationOwner *, MSIPSecUser &, MSIPTransportMgr &, TBool, TBool)

CSIPRegistrationBindingBase(MTransactionUser &aTransactionUser,
MSigComp &aSigComp,
CSIPSec &aSIPSec,
CSIPRegistrationBindingStore &aBindingStore,
MRegistrationOwner *aRegistrationOwner,
MSIPSecUser &aSIPSecUser,
MSIPTransportMgr &aTransportMgr,
TBoolaSendWithExpires,
TBoolaCacheOutboundProxyIP
)[protected]

Parameters

MTransactionUser & aTransactionUser
MSigComp & aSigComp
CSIPSec & aSIPSec
CSIPRegistrationBindingStore & aBindingStore
MRegistrationOwner * aRegistrationOwner
MSIPSecUser & aSIPSecUser
MSIPTransportMgr & aTransportMgr
TBool aSendWithExpires
TBool aCacheOutboundProxyIP

~CSIPRegistrationBindingBase()

~CSIPRegistrationBindingBase()[virtual]

Member Functions Documentation

AOR()

const CSIPToHeader &AOR()const

ByPassSIPSec()

TBool ByPassSIPSec()const

ChangeState(CSIPRegistrationState *)

voidChangeState(CSIPRegistrationState *aState)

Parameters

CSIPRegistrationState * aState

ClearRequest()

voidClearRequest()

CompareWithRegisterRequest(const MRegistrationOwner &, CSIPRequest &)

TBool CompareWithRegisterRequest(const MRegistrationOwner &aOwner,
CSIPRequest &aSIPRequest
)

Parameters

const MRegistrationOwner & aOwner
CSIPRequest & aSIPRequest

ConstructL(CSIPRequest *, CURIContainer &)

voidConstructL(CSIPRequest *aSIPRequest,
CURIContainer &aRemoteTarget
)[protected]

Parameters

CSIPRequest * aSIPRequest
CURIContainer & aRemoteTarget

Contact()

CSIPContactHeader &Contact()

ConvertInetAddrToTextL(const TInetAddr &)

HBufC8 *ConvertInetAddrToTextL(const TInetAddr &aAddr)[private]

Parameters

const TInetAddr & aAddr

CreateProxyTransportResourcesL(CSIPRouteHeader &)

voidCreateProxyTransportResourcesL(CSIPRouteHeader &aOutboundProxy)[protected]

Parameters

CSIPRouteHeader & aOutboundProxy

CurrentState()

CSIPRegistrationState &CurrentState()

DetachFromStore()

voidDetachFromStore()

DetachOutboundProxy(TAny *)

voidDetachOutboundProxy(TAny *aBinding)[protected, static]

Parameters

TAny * aBinding

DoRegisterL(TTransactionId &, CSIPRequest *, CSIPRouteHeader *)

voidDoRegisterL(TTransactionId &aTransactionId,
CSIPRequest *aSIPRequest,
CSIPRouteHeader *aOutboundProxy
)[pure virtual]

Parameters

TTransactionId & aTransactionId
CSIPRequest * aSIPRequest
CSIPRouteHeader * aOutboundProxy

DoUnregisterL(TTransactionId &, CSIPRequest *)

voidDoUnregisterL(TTransactionId &aTransactionId,
CSIPRequest *aSIPRequest
)[pure virtual]

Parameters

TTransactionId & aTransactionId
CSIPRequest * aSIPRequest

DoUpdateL(TTransactionId &, CSIPRequest *)

voidDoUpdateL(TTransactionId &aTransactionId,
CSIPRequest *aSIPRequest
)[pure virtual]

Parameters

TTransactionId & aTransactionId
CSIPRequest * aSIPRequest

FillToFromL(CSIPRequest &)

voidFillToFromL(CSIPRequest &aRequest)

Parameters

CSIPRequest & aRequest

FillTransportParams()

TSIPTransportParams FillTransportParams()

FindContactByFromL(const CSIPFromToHeaderBase *, CSIPContactHeader &)

TBool FindContactByFromL(const CSIPFromToHeaderBase *aFromToHeader,
CSIPContactHeader &aContact
)

Parameters

const CSIPFromToHeaderBase * aFromToHeader
CSIPContactHeader & aContact

FlowFailure(TInt)

voidFlowFailure(TIntaError)

Parameters

TInt aError

FreeProxyTransportResources()

voidFreeProxyTransportResources()[private]

HasOutboundProxy()

TBool HasOutboundProxy()const

HasSigCompParameter(const CSIPURI &)

TBool HasSigCompParameter(const CSIPURI &aSipUri)const [private]

Parameters

const CSIPURI & aSipUri

HasTransaction(const TTransactionId &)

TBool HasTransaction(const TTransactionId &aTransactionId)const

Parameters

const TTransactionId & aTransactionId

IAPId()

TUint32 IAPId()const

InitializeStatesL()

voidInitializeStatesL()[private]

IsCacheOutboundProxyIPEnabled()

TBool IsCacheOutboundProxyIPEnabled()

IsRefresh()

TBool IsRefresh()const [pure virtual]

OutboundProxy()

const CSIPRouteHeader *OutboundProxy()

OutboundProxyFailed()

voidOutboundProxyFailed()

OutboundProxyIPL()

CSIPRouteHeader &OutboundProxyIPL()

Owner()

const MRegistrationOwner *Owner()const

PAssociatedURIHeader()

const CSIPPAssociatedURIHeader *PAssociatedURIHeader()const

PassOnlyRealmsToUser()

TBool PassOnlyRealmsToUser()const

Received2XXResponseL(CSIPResponse &, TTransactionId)

voidReceived2XXResponseL(CSIPResponse &aResponse,
TTransactionIdaTransactionId
)

Parameters

CSIPResponse & aResponse
TTransactionId aTransactionId

Received423ResponseL(CSIPResponse &)

voidReceived423ResponseL(CSIPResponse &aResponse)

Parameters

CSIPResponse & aResponse

ReceivedErrorResponseL()

voidReceivedErrorResponseL()

RefreshId()

TRefreshId RefreshId()const [virtual]

RegisterL(TTransactionId &, CSIPRequest *, CSIPRouteHeader *)

voidRegisterL(TTransactionId &aTransactionId,
CSIPRequest *aRequest,
CSIPRouteHeader *aOutboundProxy
)

Parameters

TTransactionId & aTransactionId
CSIPRequest * aRequest
CSIPRouteHeader * aOutboundProxy

RegisterPending()

TBool RegisterPending()const

Registrar()

CSIPRegistrar *Registrar()

RegistrationId()

TRegistrationId RegistrationId()const

RemoveBinding()

TInt RemoveBinding()[protected]

RemoveOutboundProxy()

TInt RemoveOutboundProxy()

Request()

CSIPRequest *Request()

RequestCredentialsL(const TDesC8 &)

voidRequestCredentialsL(const TDesC8 &aRealm)

Parameters

const TDesC8 & aRealm

RequestCredentialsL(CSIPResponse &, TTransactionId, TRefreshId)

voidRequestCredentialsL(CSIPResponse &aResponse,
TTransactionIdaTransactionId,
TRefreshIdaRefreshId
)[virtual]

Parameters

CSIPResponse & aResponse
TTransactionId aTransactionId
TRefreshId aRefreshId

RouteSet()

RPointerArray< CSIPRouteHeader > &RouteSet()

SelfDetach(TBool)

voidSelfDetach(TBoolaRefresh)

Parameters

TBool aRefresh

SelfDetach(TBool, TBool)

voidSelfDetach(TBoolaRefresh,
TBoolaUseRetryId
)

Parameters

TBool aRefresh
TBool aUseRetryId

ServiceRouteOk(CSIPResponse &)

TBool ServiceRouteOk(CSIPResponse &aResponse)const

Parameters

CSIPResponse & aResponse

SetContactHeaderL(CSIPRequest &)

voidSetContactHeaderL(CSIPRequest &aSIPRequest)[private]

Parameters

CSIPRequest & aSIPRequest

SetExpiresValueL(CSIPRequest &)

voidSetExpiresValueL(CSIPRequest &aRequest)

Parameters

CSIPRequest & aRequest

SetFromHeaderL(CSIPRequest &)

voidSetFromHeaderL(CSIPRequest &aSIPRequest)[private]

Parameters

CSIPRequest & aSIPRequest

SetMinExpiresToRequestL(CSIPResponse &)

voidSetMinExpiresToRequestL(CSIPResponse &aResponse)[private]

Parameters

CSIPResponse & aResponse

SetOutboundProxy(CSIPRouteHeader *)

voidSetOutboundProxy(CSIPRouteHeader *aOutboundProxy)

Parameters

CSIPRouteHeader * aOutboundProxy

SetOutboundProxyIPL(const TTransactionId &)

TInt SetOutboundProxyIPL(const TTransactionId &aTransactionId)[private]

Parameters

const TTransactionId & aTransactionId

SetOutboundProxyL(CSIPRouteHeader *)

voidSetOutboundProxyL(CSIPRouteHeader *aOutboundProxy)[virtual]

Parameters

CSIPRouteHeader * aOutboundProxy

SetPAssociatedURIFromResponseL(CSIPResponse &)

voidSetPAssociatedURIFromResponseL(CSIPResponse &aResponse)[private]

Parameters

CSIPResponse & aResponse

SetRequest(CSIPRequest *)

voidSetRequest(CSIPRequest *aSIPRequest)

Parameters

CSIPRequest * aSIPRequest

SetRouteHeaderFromResponseL(CSIPResponse &)

voidSetRouteHeaderFromResponseL(CSIPResponse &aResponse)

Parameters

CSIPResponse & aResponse

SetToHeaderL(CSIPRequest &)

voidSetToHeaderL(CSIPRequest &aSIPRequest)[private]

Parameters

CSIPRequest & aSIPRequest

SigCompCompartmentId()

TUint32 SigCompCompartmentId()const

TrustedUser(TRegistrationId)

const MSIPSecUser *TrustedUser(TRegistrationIdaRegistrationId)

Parameters

TRegistrationId aRegistrationId

UnregisterL(TTransactionId &, CSIPRequest *)

voidUnregisterL(TTransactionId &aTransactionId,
CSIPRequest *aRequest
)

Parameters

TTransactionId & aTransactionId
CSIPRequest * aRequest

UpdateBindingFromResponseL(CSIPResponse &)

voidUpdateBindingFromResponseL(CSIPResponse &aResponse)[private]

Parameters

CSIPResponse & aResponse

UpdateContactFromRequestL()

voidUpdateContactFromRequestL()

UpdateL(TTransactionId &, CSIPRequest *)

voidUpdateL(TTransactionId &aTransactionId,
CSIPRequest *aRequest
)

Parameters

TTransactionId & aTransactionId
CSIPRequest * aRequest

Member Data Documentation

CSIPRegistrationBindingStore & iBindingStore

CSIPRegistrationBindingStore &iBindingStore[private]

TBool iCacheOutboundProxyIP

TBool iCacheOutboundProxyIP[private]

CSIPContactHeader * iContact

CSIPContactHeader *iContact[protected]

CSIPRegistrationState * iCurrentState

CSIPRegistrationState *iCurrentState[protected]

CSIPFromHeader * iFrom

CSIPFromHeader *iFrom[private]

CSIPRouteHeader * iOutboundProxy

CSIPRouteHeader *iOutboundProxy[private]

CSIPRouteHeader * iOutboundProxyIP

CSIPRouteHeader *iOutboundProxyIP[private]

MRegistrationOwner * iOwner

MRegistrationOwner *iOwner[protected]

CSIPPAssociatedURIHeader * iPAssociatedURIHeader

CSIPPAssociatedURIHeader *iPAssociatedURIHeader[private]

CSIPRegistered * iRegistered

CSIPRegistered *iRegistered[protected]

CSIPRegistering * iRegistering

CSIPRegistering *iRegistering[protected]

CSIPRegistrar * iRegistrar

CSIPRegistrar *iRegistrar[protected]

TRegistrationId iRegistrationId

TRegistrationId iRegistrationId[protected]

CURIContainer * iRemoteTarget

CURIContainer *iRemoteTarget[protected]

CSIPRequest * iRequest

CSIPRequest *iRequest[private]

CSIP423ResponseReceived * iResponse423Received

CSIP423ResponseReceived *iResponse423Received[protected]

TTransactionId iRetryTransactionId

TTransactionId iRetryTransactionId[protected]

RPointerArray< CSIPRouteHeader > iRouteSet

RPointerArray< CSIPRouteHeader >iRouteSet[protected]

CSIPSec & iSIPSec

CSIPSec &iSIPSec[private]

MSIPSecUser & iSIPSecUser

MSIPSecUser &iSIPSecUser[protected]

TBool iSendWithExpires

TBool iSendWithExpires[private]

MSigComp & iSigComp

MSigComp &iSigComp[private]

TUint32 iSigCompCompartmentId

TUint32 iSigCompCompartmentId[protected]

CSIPToHeader * iTo

CSIPToHeader *iTo[private]

TTransactionId iTransactionId

TTransactionId iTransactionId[protected]

MTransactionUser & iTransactionUser

MTransactionUser &iTransactionUser[protected]

TUint32 iTransportId

TUint32 iTransportId[protected]

MSIPTransportMgr & iTransportMgr

MSIPTransportMgr &iTransportMgr[private]

CSIPUnregistered * iUnregistered

CSIPUnregistered *iUnregistered[protected]

CSIPUnregistering * iUnregistering

CSIPUnregistering *iUnregistering[protected]

CSIPRegisterUpdating * iUpdating

CSIPRegisterUpdating *iUpdating[protected]