CAknNotifierWrapper Class Reference

class CAknNotifierWrapper : public CAknNotifierWrapperLight

Inherits from

Public Member Functions
~CAknNotifierWrapper ()
const TUid & AppServerUid ()
IMPORT_C void AsyncMessageCompleted ( CAknNotifierMessageObserver *)
IMPORT_C void CancelNotifier ( TUid )
IMPORT_C void DoNotifierControllerCommand ( TInt )
IMPORT_C CAknNotifierWrapper * NewL ( TUid , TUid , TInt , TUid , TUint )
IMPORT_C TNotifierInfo RegisterL ()
IMPORT_C void StartNotifierL ( TUid , const TDesC8 &, TInt , const RMessagePtr2 &)
IMPORT_C TPtrC8 StartNotifierL ( TUid , const TDesC8 &)
TPtr8 SynchronousReplyBuf ()
IMPORT_C TPtrC8 UpdateNotifierL ( TUid , const TDesC8 &)
IMPORT_C void UpdateNotifierL ( TUid , const TDesC8 &, TInt , const RMessagePtr2 &)
Protected Member Functions
CAknNotifierWrapper ( TUid , TUid , TInt )
RAknNotifierAppServClient & Client ()
CAknNotifierMessageObserver * CreateNewQueueEntryL ( TUid , const TDesC8 &, TInt , const RMessagePtr2 &)
void SetSynchReplybuf ( HBufC8 *)
Private Member Functions
CAknNotifierWrapper ( TUid , TUid , TInt , TUid )
void CompleteOutstandingRequests ( TUid , TInt )
void ConstructL ( 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_C CAknNotifierWrapper ( TUid aNotifierUid,
TUid aChannel,
TInt aPriority
) [protected]

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

Since
3.0

Parameters

TUid aNotifierUid Uid of this notifier, returned in Info()
TUid aChannel Channel uid of this notifier, returned in Info()
TInt aPriority Priority of this notifier, see declaration of MEikSrvNotifierBase2, returned in Info().

CAknNotifierWrapper(TUid, TUid, TInt, TUid)

CAknNotifierWrapper ( TUid aNotifierUid,
TUid aChannel,
TInt aPriority,
TUid aAppServerUid
) [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 void AsyncMessageCompleted ( CAknNotifierMessageObserver * aEntry )

Parameters

CAknNotifierMessageObserver * aEntry

CancelNotifier(TUid)

IMPORT_C void CancelNotifier ( TUid aNotifierUid )

Parameters

TUid aNotifierUid

Client()

RAknNotifierAppServClient & Client ( ) [protected, inline]

CompleteOutstandingRequests(TUid, TInt)

void CompleteOutstandingRequests ( TUid aNotifierUid,
TInt aReason
) [private]

Parameters

TUid aNotifierUid
TInt aReason

ConstructL(TUint)

void ConstructL ( TUint aReplyBufSize ) [private]

Parameters

TUint aReplyBufSize

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

CAknNotifierMessageObserver * CreateNewQueueEntryL ( TUid aNotifierUid,
const TDesC8 & aBuffer,
TInt aReplySlot,
const RMessagePtr2 & aMessage
) [protected]

Parameters

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

DoNotifierControllerCommand(TInt)

IMPORT_C void DoNotifierControllerCommand ( TInt aCommand )

Parameters

TInt aCommand

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

IMPORT_C CAknNotifierWrapper * NewL ( TUid aNotifierUid,
TUid aChannel,
TInt aPriority,
TUid aAppServerUid,
TUint aReplyBufSize
) [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 aNotifierUid Uid of this notifier, returned in Info()
TUid aChannel Channel uid of this notifier, returned in Info()
TInt aPriority Priority of this notifier, see declaration of MEikSrvNotifierBase2, returned in Info()
TUid aAppServerUid Uid of App Server to connect (implementation specific)
TUint aReplyBufSize Size of a reply buffer used in synchrouns notifier requests

RegisterL()

IMPORT_C TNotifierInfo RegisterL ( )

SetSynchReplybuf(HBufC8 *)

void SetSynchReplybuf ( HBufC8 * aReplyBuffer ) [protected, inline]

Parameters

HBufC8 * aReplyBuffer

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

IMPORT_C void StartNotifierL ( TUid aNotifierUid,
const TDesC8 & aBuffer,
TInt aReplySlot,
const RMessagePtr2 & aMessage
)

Parameters

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

StartNotifierL(TUid, const TDesC8 &)

IMPORT_C TPtrC8 StartNotifierL ( TUid aNotifierUid,
const TDesC8 & aBuffer
)

Parameters

TUid aNotifierUid
const TDesC8 & aBuffer

SynchronousReplyBuf()

TPtr8 SynchronousReplyBuf ( ) [inline]

UpdateNotifierL(TUid, const TDesC8 &)

IMPORT_C TPtrC8 UpdateNotifierL ( TUid aNotifierUid,
const TDesC8 & aBuffer
)

Parameters

TUid aNotifierUid
const TDesC8 & aBuffer

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

IMPORT_C void UpdateNotifierL ( TUid aNotifierUid,
const TDesC8 & aBuffer,
TInt aReplySlot,
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]