CSIPRegistrationBindingBase Class Reference

class CSIPRegistrationBindingBase : public CBase

base class of registration binding.

Inherits from

  • CSIPRegistrationBindingBase
Public Member Functions
~CSIPRegistrationBindingBase ()
const CSIPToHeader & AOR ()
TBool ByPassSIPSec ()
void ChangeState ( CSIPRegistrationState *)
void ClearRequest ()
TBool CompareWithRegisterRequest (const MRegistrationOwner &, CSIPRequest &)
CSIPContactHeader & Contact ()
CSIPRegistrationState & CurrentState ()
void DetachFromStore ()
void DoRegisterL ( TTransactionId &, CSIPRequest *, CSIPRouteHeader *)
void DoUnregisterL ( TTransactionId &, CSIPRequest *)
void DoUpdateL ( TTransactionId &, CSIPRequest *)
void FillToFromL ( CSIPRequest &)
TSIPTransportParams FillTransportParams ()
TBool FindContactByFromL (const CSIPFromToHeaderBase *, CSIPContactHeader &)
void FlowFailure ( TInt )
TBool HasOutboundProxy ()
TBool HasTransaction (const TTransactionId &)
TUint32 IAPId ()
TBool IsCacheOutboundProxyIPEnabled ()
TBool IsRefresh ()
const CSIPRouteHeader * OutboundProxy ()
void OutboundProxyFailed ()
CSIPRouteHeader & OutboundProxyIPL ()
const MRegistrationOwner * Owner ()
const CSIPPAssociatedURIHeader * PAssociatedURIHeader ()
TBool PassOnlyRealmsToUser ()
void Received2XXResponseL ( CSIPResponse &, TTransactionId )
void Received423ResponseL ( CSIPResponse &)
void ReceivedErrorResponseL ()
TRefreshId RefreshId ()
void RegisterL ( TTransactionId &, CSIPRequest *, CSIPRouteHeader *)
TBool RegisterPending ()
CSIPRegistrar * Registrar ()
TRegistrationId RegistrationId ()
TInt RemoveOutboundProxy ()
CSIPRequest * Request ()
void RequestCredentialsL (const TDesC8 &)
void RequestCredentialsL ( CSIPResponse &, TTransactionId , TRefreshId )
RPointerArray < CSIPRouteHeader > & RouteSet ()
void SelfDetach ( TBool )
void SelfDetach ( TBool , TBool )
TBool ServiceRouteOk ( CSIPResponse &)
void SetExpiresValueL ( CSIPRequest &)
void SetOutboundProxy ( CSIPRouteHeader *)
void SetOutboundProxyL ( CSIPRouteHeader *)
void SetRequest ( CSIPRequest *)
void SetRouteHeaderFromResponseL ( CSIPResponse &)
TUint32 SigCompCompartmentId ()
const MSIPSecUser * TrustedUser ( TRegistrationId )
void UnregisterL ( TTransactionId &, CSIPRequest *)
void UpdateContactFromRequestL ()
void UpdateL ( TTransactionId &, CSIPRequest *)
Protected Member Functions
CSIPRegistrationBindingBase ( MTransactionUser &, MSigComp &, CSIPSec &, CSIPRegistrationBindingStore &, MRegistrationOwner *, MSIPSecUser &, MSIPTransportMgr &, TBool , TBool )
void ConstructL ( CSIPRequest *, CURIContainer &)
void CreateProxyTransportResourcesL ( CSIPRouteHeader &)
void DetachOutboundProxy ( TAny *)
TInt RemoveBinding ()
Private Member Functions
HBufC8 * ConvertInetAddrToTextL (const TInetAddr &)
void FreeProxyTransportResources ()
TBool HasSigCompParameter (const CSIPURI &)
void InitializeStatesL ()
void SetContactHeaderL ( CSIPRequest &)
void SetFromHeaderL ( CSIPRequest &)
void SetMinExpiresToRequestL ( CSIPResponse &)
TInt SetOutboundProxyIPL (const TTransactionId &)
void SetPAssociatedURIFromResponseL ( CSIPResponse &)
void SetToHeaderL ( CSIPRequest &)
void UpdateBindingFromResponseL ( 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,
TBool aSendWithExpires,
TBool aCacheOutboundProxyIP
) [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 *)

void ChangeState ( CSIPRegistrationState * aState )

Parameters

CSIPRegistrationState * aState

ClearRequest()

void ClearRequest ( )

CompareWithRegisterRequest(const MRegistrationOwner &, CSIPRequest &)

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

Parameters

const MRegistrationOwner & aOwner
CSIPRequest & aSIPRequest

ConstructL(CSIPRequest *, CURIContainer &)

void ConstructL ( 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 &)

void CreateProxyTransportResourcesL ( CSIPRouteHeader & aOutboundProxy ) [protected]

Parameters

CSIPRouteHeader & aOutboundProxy

CurrentState()

CSIPRegistrationState & CurrentState ( )

DetachFromStore()

void DetachFromStore ( )

DetachOutboundProxy(TAny *)

void DetachOutboundProxy ( TAny * aBinding ) [protected, static]

Parameters

TAny * aBinding

DoRegisterL(TTransactionId &, CSIPRequest *, CSIPRouteHeader *)

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

Parameters

TTransactionId & aTransactionId
CSIPRequest * aSIPRequest
CSIPRouteHeader * aOutboundProxy

DoUnregisterL(TTransactionId &, CSIPRequest *)

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

Parameters

TTransactionId & aTransactionId
CSIPRequest * aSIPRequest

DoUpdateL(TTransactionId &, CSIPRequest *)

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

Parameters

TTransactionId & aTransactionId
CSIPRequest * aSIPRequest

FillToFromL(CSIPRequest &)

void FillToFromL ( 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)

void FlowFailure ( TInt aError )

Parameters

TInt aError

FreeProxyTransportResources()

void FreeProxyTransportResources ( ) [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()

void InitializeStatesL ( ) [private]

IsCacheOutboundProxyIPEnabled()

TBool IsCacheOutboundProxyIPEnabled ( )

IsRefresh()

TBool IsRefresh ( ) const [pure virtual]

OutboundProxy()

const CSIPRouteHeader * OutboundProxy ( )

OutboundProxyFailed()

void OutboundProxyFailed ( )

OutboundProxyIPL()

CSIPRouteHeader & OutboundProxyIPL ( )

Owner()

const MRegistrationOwner * Owner ( ) const

PAssociatedURIHeader()

const CSIPPAssociatedURIHeader * PAssociatedURIHeader ( ) const

PassOnlyRealmsToUser()

TBool PassOnlyRealmsToUser ( ) const

Received2XXResponseL(CSIPResponse &, TTransactionId)

void Received2XXResponseL ( CSIPResponse & aResponse,
TTransactionId aTransactionId
)

Parameters

CSIPResponse & aResponse
TTransactionId aTransactionId

Received423ResponseL(CSIPResponse &)

void Received423ResponseL ( CSIPResponse & aResponse )

Parameters

CSIPResponse & aResponse

ReceivedErrorResponseL()

void ReceivedErrorResponseL ( )

RefreshId()

TRefreshId RefreshId ( ) const [virtual]

RegisterL(TTransactionId &, CSIPRequest *, CSIPRouteHeader *)

void RegisterL ( 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 &)

void RequestCredentialsL ( const TDesC8 & aRealm )

Parameters

const TDesC8 & aRealm

RequestCredentialsL(CSIPResponse &, TTransactionId, TRefreshId)

void RequestCredentialsL ( CSIPResponse & aResponse,
TTransactionId aTransactionId,
TRefreshId aRefreshId
) [virtual]

Parameters

CSIPResponse & aResponse
TTransactionId aTransactionId
TRefreshId aRefreshId

RouteSet()

RPointerArray < CSIPRouteHeader > & RouteSet ( )

SelfDetach(TBool)

void SelfDetach ( TBool aRefresh )

Parameters

TBool aRefresh

SelfDetach(TBool, TBool)

void SelfDetach ( TBool aRefresh,
TBool aUseRetryId
)

Parameters

TBool aRefresh
TBool aUseRetryId

ServiceRouteOk(CSIPResponse &)

TBool ServiceRouteOk ( CSIPResponse & aResponse ) const

Parameters

CSIPResponse & aResponse

SetContactHeaderL(CSIPRequest &)

void SetContactHeaderL ( CSIPRequest & aSIPRequest ) [private]

Parameters

CSIPRequest & aSIPRequest

SetExpiresValueL(CSIPRequest &)

void SetExpiresValueL ( CSIPRequest & aRequest )

Parameters

CSIPRequest & aRequest

SetFromHeaderL(CSIPRequest &)

void SetFromHeaderL ( CSIPRequest & aSIPRequest ) [private]

Parameters

CSIPRequest & aSIPRequest

SetMinExpiresToRequestL(CSIPResponse &)

void SetMinExpiresToRequestL ( CSIPResponse & aResponse ) [private]

Parameters

CSIPResponse & aResponse

SetOutboundProxy(CSIPRouteHeader *)

void SetOutboundProxy ( CSIPRouteHeader * aOutboundProxy )

Parameters

CSIPRouteHeader * aOutboundProxy

SetOutboundProxyIPL(const TTransactionId &)

TInt SetOutboundProxyIPL ( const TTransactionId & aTransactionId ) [private]

Parameters

const TTransactionId & aTransactionId

SetOutboundProxyL(CSIPRouteHeader *)

void SetOutboundProxyL ( CSIPRouteHeader * aOutboundProxy ) [virtual]

Parameters

CSIPRouteHeader * aOutboundProxy

SetPAssociatedURIFromResponseL(CSIPResponse &)

void SetPAssociatedURIFromResponseL ( CSIPResponse & aResponse ) [private]

Parameters

CSIPResponse & aResponse

SetRequest(CSIPRequest *)

void SetRequest ( CSIPRequest * aSIPRequest )

Parameters

CSIPRequest * aSIPRequest

SetRouteHeaderFromResponseL(CSIPResponse &)

void SetRouteHeaderFromResponseL ( CSIPResponse & aResponse )

Parameters

CSIPResponse & aResponse

SetToHeaderL(CSIPRequest &)

void SetToHeaderL ( CSIPRequest & aSIPRequest ) [private]

Parameters

CSIPRequest & aSIPRequest

SigCompCompartmentId()

TUint32 SigCompCompartmentId ( ) const

TrustedUser(TRegistrationId)

const MSIPSecUser * TrustedUser ( TRegistrationId aRegistrationId )

Parameters

TRegistrationId aRegistrationId

UnregisterL(TTransactionId &, CSIPRequest *)

void UnregisterL ( TTransactionId & aTransactionId,
CSIPRequest * aRequest
)

Parameters

TTransactionId & aTransactionId
CSIPRequest * aRequest

UpdateBindingFromResponseL(CSIPResponse &)

void UpdateBindingFromResponseL ( CSIPResponse & aResponse ) [private]

Parameters

CSIPResponse & aResponse

UpdateContactFromRequestL()

void UpdateContactFromRequestL ( )

UpdateL(TTransactionId &, CSIPRequest *)

void UpdateL ( 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]