CXIMPSubscriptionItemBase Class Reference
class CXIMPSubscriptionItemBase : public CObject
|
PSC subscription implementation
Inherits from
-
CXIMPSubscriptionItemBase
Constructor & Destructor Documentation
CXIMPSubscriptionItemBase(MXIMPItemParentBase &)
~CXIMPSubscriptionItemBase()
IMPORT_C
|
~CXIMPSubscriptionItemBase
|
(
|
)
|
[protected, virtual]
|
Member Functions Documentation
ActivateSubscriberL(CXIMPSubscriptionItemBase *)
Activate subscriber for item.
ActivateSubscriberL(MXIMPPscContext *)
AddSubscriberL(MXIMPPscContext *)
AddSubscriberL(CXIMPSubscriptionItemBase *)
BaseConstructL()
IMPORT_C void
|
BaseConstructL
|
(
|
)
|
|
Base construction. Must be called from inherited classes ConstructL
ChangeStatusAfterAdd()
IMPORT_C void
|
ChangeStatusAfterAdd
|
(
|
)
|
|
Change status after subscriber is added/removed.
ChangeStatusAfterRemove()
IMPORT_C void
|
ChangeStatusAfterRemove
|
(
|
)
|
|
CleanExpired()
void
|
CleanExpired
|
(
|
)
|
[protected, pure virtual]
|
Clean data because expiration
CleanIfExpired()
IMPORT_C
TBool
|
CleanIfExpired
|
(
|
)
|
|
Context(TInt)
Reference to context in index.
ContextCount()
IMPORT_C
TInt
|
ContextCount
|
(
|
)
|
const
|
Count of subscribed contexts.
CountOfSubscribers()
IMPORT_C
TInt
|
CountOfSubscribers
|
(
|
)
|
|
Count of subscribers. Items counted as 1.
ForceClose()
IMPORT_C void
|
ForceClose
|
(
|
)
|
|
Call RemoveSubscriber for all contexts registered to item.
IsContext(MXIMPPscContext *)
Can context be found from contexts.
OrderOfContexts(const MXIMPPscContext &, const MXIMPPscContext &)
For linear ordering by pointers
OrderOfItems(const CXIMPSubscriptionItemBase &, const CXIMPSubscriptionItemBase &)
For linear ordering by pointers
RemoveSubscriber(MXIMPPscContext *)
Remove subscriber from item
RemoveSubscriber(CXIMPSubscriptionItemBase *)
Remove subscriber from item
SetDataSubscriptionStateL(CXIMPDataSubscriptionStateImp &)
IMPORT_C void
|
SetDataSubscriptionStateL
|
(
|
CXIMPDataSubscriptionStateImp &
|
aNewState
|
)
|
|
Parameters
CXIMPDataSubscriptionStateImp & aNewState
|
|
StatusLC(MXIMPPscContext *)
IMPORT_C CXIMPDataSubscriptionStateImp *
|
StatusLC
|
(
|
MXIMPPscContext
*
|
aContext
|
)
|
const
|
SubscriptionStatus(MXIMPPscContext *)
Subscriptionstatus for context.
ENotSubscribedAtAll - Subscribe not done by any context. ESubscribedForOtherCtxOnly - Subscribe done by others but not aContext ESubscribedForCtxOnly - Subscribe done by aContext only. ESubscribedForCtxAndOthers - Subscribe done by others and aContext.
SynthesiseSubscriptionEventToAllCtxsL()
IMPORT_C void
|
SynthesiseSubscriptionEventToAllCtxsL
|
(
|
)
|
|
UpdateExpirationL()
IMPORT_C void
|
UpdateExpirationL
|
(
|
)
|
|
Update time to new expire time.
UpdateSubscriptionStateL(TSubscriptionEvent)
Update subscription based on event happened.
Member Enumerations Documentation
Enum TSubscriptionEvent
Subscription update event. Update subscription based on event.
Enum TSubscriptionStatus
Enumerators
ENotSubscribedAtAll
|
|
ESubscribedForOtherCtxOnly
|
|
ESubscribedForCtxOnly
|
|
ESubscribedForCtxAndOthers
|
|
Member Data Documentation
RPointerArray< MXIMPPscContext > iContexts
TTime
iExpireTime
TTime
|
iExpireTime
|
[protected]
|
Time
when ready for expire.
RPointerArray< CXIMPSubscriptionItemBase > iItems
MXIMPItemParentBase & iParent
Parent object to inform when object is deleted. Used also for sending events.
RPointerArray< MXIMPPscContext > iPreContexts
RPointerArray< CXIMPSubscriptionItemBase > iPreItems
CXIMPDataSubscriptionStateImp * iSubscriptionState
CXIMPDataSubscriptionStateImp *
|
iSubscriptionState
|
[protected]
|
Current presence info status.
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.