CAknNotifierWrapper Class Reference

class CAknNotifierWrapper : public CAknNotifierWrapperLight

Inherits from

Public Member Functions
~CAknNotifierWrapper()
const TUid &AppServerUid()
IMPORT_C voidAsyncMessageCompleted(CAknNotifierMessageObserver *)
IMPORT_C voidCancelNotifier(TUid)
IMPORT_C voidDoNotifierControllerCommand(TInt)
IMPORT_C CAknNotifierWrapper *NewL(TUid, TUid, TInt, TUid, TUint)
IMPORT_C TNotifierInfoRegisterL()
IMPORT_C voidStartNotifierL(TUid, const TDesC8 &, TInt, const RMessagePtr2 &)
IMPORT_C TPtrC8StartNotifierL(TUid, const TDesC8 &)
TPtr8 SynchronousReplyBuf()
IMPORT_C TPtrC8UpdateNotifierL(TUid, const TDesC8 &)
IMPORT_C voidUpdateNotifierL(TUid, const TDesC8 &, TInt, const RMessagePtr2 &)
Protected Member Functions
CAknNotifierWrapper(TUid, TUid, TInt)
RAknNotifierAppServClient &Client()
CAknNotifierMessageObserver *CreateNewQueueEntryL(TUid, const TDesC8 &, TInt, const RMessagePtr2 &)
voidSetSynchReplybuf(HBufC8 *)
Private Member Functions
CAknNotifierWrapper(TUid, TUid, TInt, TUid)
voidCompleteOutstandingRequests(TUid, TInt)
voidConstructL(TUint)
Inherited Functions
CAknNotifierWrapperLight::CAknNotifierWrapperLight(MAknNotifierWrapper &,TUid,TUid,TInt)
CAknNotifierWrapperLight::Cancel()
CAknNotifierWrapperLight::Info()const
CAknNotifierWrapperLight::NotifierCapabilites()
CAknNotifierWrapperLight::Release()
CAknNotifierWrapperLight::StartL(const TDesC8 &)
CAknNotifierWrapperLight::StartL(const TDesC8 &,TInt,const RMessagePtr2 &)
CAknNotifierWrapperLight::UpdateL(const TDesC8 &)
CAknNotifierWrapperLight::UpdateL(const TDesC8 &,TInt,const RMessagePtr2 &)
CAknNotifierWrapperLight::~CAknNotifierWrapperLight()
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()
Private Attributes
TUid iAppServerUid
RAknNotifierAppServClient iClient
RPointerArray< CAknNotifierMessageObserver >iMessageQueue
HBufC8 *iReplyBuffer

Constructor & Destructor Documentation

CAknNotifierWrapper(TUid, TUid, TInt)

IMPORT_CCAknNotifierWrapper(TUidaNotifierUid,
TUidaChannel,
TIntaPriority
)[protected]

Constructor. Intended only for derivation. Uses AppServerUid() to initialize iAppServerUid.

Since
3.0

Parameters

TUid aNotifierUidUid of this notifier, returned in Info()
TUid aChannelChannel uid of this notifier, returned in Info()
TInt aPriorityPriority of this notifier, see declaration of MEikSrvNotifierBase2, returned in Info().

CAknNotifierWrapper(TUid, TUid, TInt, TUid)

CAknNotifierWrapper(TUidaNotifierUid,
TUidaChannel,
TIntaPriority,
TUidaAppServerUid
)[private]

Parameters

TUid aNotifierUid
TUid aChannel
TInt aPriority
TUid aAppServerUid

~CAknNotifierWrapper()

IMPORT_C~CAknNotifierWrapper()

Member Functions Documentation

AppServerUid()

const TUid &AppServerUid()const [inline]

AsyncMessageCompleted(CAknNotifierMessageObserver *)

IMPORT_C voidAsyncMessageCompleted(CAknNotifierMessageObserver *aEntry)

Parameters

CAknNotifierMessageObserver * aEntry

CancelNotifier(TUid)

IMPORT_C voidCancelNotifier(TUidaNotifierUid)

Parameters

TUid aNotifierUid

Client()

RAknNotifierAppServClient &Client()[protected, inline]

CompleteOutstandingRequests(TUid, TInt)

voidCompleteOutstandingRequests(TUidaNotifierUid,
TIntaReason
)[private]

Parameters

TUid aNotifierUid
TInt aReason

ConstructL(TUint)

voidConstructL(TUintaReplyBufSize)[private]

Parameters

TUint aReplyBufSize

CreateNewQueueEntryL(TUid, const TDesC8 &, TInt, const RMessagePtr2 &)

CAknNotifierMessageObserver *CreateNewQueueEntryL(TUidaNotifierUid,
const TDesC8 &aBuffer,
TIntaReplySlot,
const RMessagePtr2 &aMessage
)[protected]

Parameters

TUid aNotifierUid
const TDesC8 & aBuffer
TInt aReplySlot
const RMessagePtr2 & aMessage

DoNotifierControllerCommand(TInt)

IMPORT_C voidDoNotifierControllerCommand(TIntaCommand)

Parameters

TInt aCommand

NewL(TUid, TUid, TInt, TUid, TUint)

IMPORT_C CAknNotifierWrapper *NewL(TUidaNotifierUid,
TUidaChannel,
TIntaPriority,
TUidaAppServerUid,
TUintaReplyBufSize
)[static]

Static constructor. This does not connect (nor create) app server, but the server is created when RegisterL is being called by Symbian FW. Real connection to app server is formed during first actual notifier request

Since
3.0

Parameters

TUid aNotifierUidUid of this notifier, returned in Info()
TUid aChannelChannel uid of this notifier, returned in Info()
TInt aPriorityPriority of this notifier, see declaration of MEikSrvNotifierBase2, returned in Info()
TUid aAppServerUidUid of App Server to connect (implementation specific)
TUint aReplyBufSizeSize of a reply buffer used in synchrouns notifier requests

RegisterL()

IMPORT_C TNotifierInfoRegisterL()

SetSynchReplybuf(HBufC8 *)

voidSetSynchReplybuf(HBufC8 *aReplyBuffer)[protected, inline]

Parameters

HBufC8 * aReplyBuffer

StartNotifierL(TUid, const TDesC8 &, TInt, const RMessagePtr2 &)

IMPORT_C voidStartNotifierL(TUidaNotifierUid,
const TDesC8 &aBuffer,
TIntaReplySlot,
const RMessagePtr2 &aMessage
)

Parameters

TUid aNotifierUid
const TDesC8 & aBuffer
TInt aReplySlot
const RMessagePtr2 & aMessage

StartNotifierL(TUid, const TDesC8 &)

IMPORT_C TPtrC8StartNotifierL(TUidaNotifierUid,
const TDesC8 &aBuffer
)

Parameters

TUid aNotifierUid
const TDesC8 & aBuffer

SynchronousReplyBuf()

TPtr8 SynchronousReplyBuf()[inline]

UpdateNotifierL(TUid, const TDesC8 &)

IMPORT_C TPtrC8UpdateNotifierL(TUidaNotifierUid,
const TDesC8 &aBuffer
)

Parameters

TUid aNotifierUid
const TDesC8 & aBuffer

UpdateNotifierL(TUid, const TDesC8 &, TInt, const RMessagePtr2 &)

IMPORT_C voidUpdateNotifierL(TUidaNotifierUid,
const TDesC8 &aBuffer,
TIntaReplySlot,
const RMessagePtr2 &aMessage
)

Parameters

TUid aNotifierUid
const TDesC8 & aBuffer
TInt aReplySlot
const RMessagePtr2 & aMessage

Member Data Documentation

TUid iAppServerUid

TUid iAppServerUid[private]

RAknNotifierAppServClient iClient

RAknNotifierAppServClient iClient[private]

RPointerArray< CAknNotifierMessageObserver > iMessageQueue

RPointerArray< CAknNotifierMessageObserver >iMessageQueue[private]

HBufC8 * iReplyBuffer

HBufC8 *iReplyBuffer[private]