CBlockListSubscriptionItem Class Reference

class CBlockListSubscriptionItem : public CXIMPSubscriptionItemBase

PSC group list subscription implementation

Since
S60 v3.2

Inherits from

Public Member Functions
~CBlockListSubscriptionItem()
IMPORT_C voidClean()
CBlockListSubscriptionItem *NewLC(MXIMPItemParentBase &)
IMPORT_C voidSetBlockedL(CPresenceBlockInfoImp *)
IMPORT_C voidSetCanceledBlockIdL(CXIMPIdentityImp *)
IMPORT_C voidSetNewListL(RPrBlockInfoImpArray *)
voidSynthesiseSubscriptionEventToL(MXIMPPscContext *, TBool)
Private Member Functions
CBlockListSubscriptionItem(MXIMPItemParentBase &)
voidCleanExpired()
voidConstructL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
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()
CObject::AccessCount()const
CObject::CObject()
CObject::Close()
CObject::Dec()
CObject::Extension_(TUint,TAny *&,TAny *)
CObject::FullName()const
CObject::Inc()
CObject::Name()const
CObject::Open()
CObject::Owner()const
CObject::SetName(const TDesC *)
CObject::SetNameL(const TDesC *)
CObject::SetOwner(CObject *)
CObject::UniqueID()const
CObject::~CObject()
CXIMPSubscriptionItemBase::ActivateSubscriberL(CXIMPSubscriptionItemBase *)
CXIMPSubscriptionItemBase::ActivateSubscriberL(MXIMPPscContext *)
CXIMPSubscriptionItemBase::AddSubscriberL(CXIMPSubscriptionItemBase *)
CXIMPSubscriptionItemBase::AddSubscriberL(MXIMPPscContext *)
CXIMPSubscriptionItemBase::BaseConstructL()
CXIMPSubscriptionItemBase::CXIMPSubscriptionItemBase(MXIMPItemParentBase &)
CXIMPSubscriptionItemBase::ChangeStatusAfterAdd()
CXIMPSubscriptionItemBase::ChangeStatusAfterRemove()
CXIMPSubscriptionItemBase::CleanIfExpired()
CXIMPSubscriptionItemBase::Context(TInt)
CXIMPSubscriptionItemBase::ContextCount()const
CXIMPSubscriptionItemBase::CountOfSubscribers()
CXIMPSubscriptionItemBase::DataSubscriptionState()
CXIMPSubscriptionItemBase::ForceClose()
CXIMPSubscriptionItemBase::IsContext(MXIMPPscContext *)const
CXIMPSubscriptionItemBase::OrderOfContexts(const MXIMPPscContext &,const MXIMPPscContext &)
CXIMPSubscriptionItemBase::OrderOfItems(const CXIMPSubscriptionItemBase &,const CXIMPSubscriptionItemBase &)
CXIMPSubscriptionItemBase::RemoveSubscriber(CXIMPSubscriptionItemBase *)
CXIMPSubscriptionItemBase::RemoveSubscriber(MXIMPPscContext *)
CXIMPSubscriptionItemBase::SetDataSubscriptionStateL(CXIMPDataSubscriptionStateImp &)
CXIMPSubscriptionItemBase::StatusLC(MXIMPPscContext *)const
CXIMPSubscriptionItemBase::SubscriptionStatus(MXIMPPscContext *)
CXIMPSubscriptionItemBase::SynthesiseSubscriptionEventToAllCtxsL()
CXIMPSubscriptionItemBase::UpdateExpirationL()
CXIMPSubscriptionItemBase::UpdateSubscriptionStateL(TSubscriptionEvent)
CXIMPSubscriptionItemBase::~CXIMPSubscriptionItemBase()
Inherited Enumerations
CXIMPSubscriptionItemBase:TSubscriptionEvent
CXIMPSubscriptionItemBase:TSubscriptionStatus
Private Attributes
RPrBlockInfoImpArray *iAdded
RPrBlockInfoImpArray *iCurrent
RPrBlockInfoImpArray *iRemoved
RPrBlockInfoImpArray *iUpdated
Inherited Attributes
CXIMPSubscriptionItemBase::iContexts
CXIMPSubscriptionItemBase::iExpireTime
CXIMPSubscriptionItemBase::iItems
CXIMPSubscriptionItemBase::iParent
CXIMPSubscriptionItemBase::iPreContexts
CXIMPSubscriptionItemBase::iPreItems
CXIMPSubscriptionItemBase::iSubscriptionState

Constructor & Destructor Documentation

CBlockListSubscriptionItem(MXIMPItemParentBase &)

CBlockListSubscriptionItem(MXIMPItemParentBase &aParent)[private]

Construction

Parameters

MXIMPItemParentBase & aParent

~CBlockListSubscriptionItem()

~CBlockListSubscriptionItem()
Destruction
  • Remember to inform parent about delete.

Member Functions Documentation

Clean()

IMPORT_C voidClean()

Remove the temporary lists.

CleanExpired()

voidCleanExpired()[private, virtual]

ConstructL()

voidConstructL()[private]

Construction

NewLC(MXIMPItemParentBase &)

CBlockListSubscriptionItem *NewLC(MXIMPItemParentBase &aParent)[static]

Construction

Parameters

MXIMPItemParentBase & aParent

SetBlockedL(CPresenceBlockInfoImp *)

IMPORT_C voidSetBlockedL(CPresenceBlockInfoImp *aReq)

Add new blocked object to current. Ownership is transferred!

Parameters

CPresenceBlockInfoImp * aReqInformation of new blocked item.

SetCanceledBlockIdL(CXIMPIdentityImp *)

IMPORT_C voidSetCanceledBlockIdL(CXIMPIdentityImp *aRemoved)

Cancels block from identity Ownership is transferred!

Parameters

CXIMPIdentityImp * aRemovedIdentity of item not blocked anymore.

SetNewListL(RPrBlockInfoImpArray *)

IMPORT_C voidSetNewListL(RPrBlockInfoImpArray *aList)

Resolves deltas from new list and replaces old current. Ownership is transferred!

Parameters

RPrBlockInfoImpArray * aListNew blocklist.

SynthesiseSubscriptionEventToL(MXIMPPscContext *, TBool)

voidSynthesiseSubscriptionEventToL(MXIMPPscContext *aContext,
TBoolaForceEvent
)

Parameters

MXIMPPscContext * aContext
TBool aForceEvent

Member Data Documentation

RPrBlockInfoImpArray * iAdded

RPrBlockInfoImpArray *iAdded[private]

Current list of groups. Owned.

RPrBlockInfoImpArray * iCurrent

RPrBlockInfoImpArray *iCurrent[private]

List of created groups (new since last update). Owned.

RPrBlockInfoImpArray * iRemoved

RPrBlockInfoImpArray *iRemoved[private]

List of deleted groups (removed since last update). Owned.

RPrBlockInfoImpArray * iUpdated

RPrBlockInfoImpArray *iUpdated[private]

List of updated groups (removed since last update). Owned.