CMceManager Class Reference
class CMceManager : public CBase |
Class for connecting to MCE server.
This class provides the connection to the MCE server and provides functions for setting observers for asynchronous events.
The user should create only one instance of this class.
mceclient.lib
Private Member Functions |
---|
| CMceManager(const TUid &, TMceTransactionDataContainer *) |
void | AddEventL(CMceEvent *) |
void | AddReferL(CMceRefer *) |
void | AddSessionL(CMceSession *) |
void | ConstructL() |
void | IncomingSessionUpdateL(CMceInSession &, CMceSession &) |
void | PrepareForITC(TMceIds &, TUint) |
void | ReceiveSupportedAudioCodecsL() |
void | ReceiveSupportedVideoCodecsL() |
TUint32
| RegisterEventL(CMceEvent *, CDesC8Array &, TUint32 &, TUint32) |
TUint32
| RegisterReferL(CMceRefer *, CDesC8Array &, TUint32 &) |
TUint32
| RegisterSessionL(CMceSession *, CDesC8Array &, TUint32 &, TBool &) |
void | RemoveSession(CMceSession *) |
void | UnregisterEvent(CMceEvent *) |
void | UnregisterRefer(CMceRefer *) |
void | UnregisterSession(CMceSession *) |
Constructor & Destructor Documentation
CMceManager(const TUid &, TMceTransactionDataContainer *)
Member Functions Documentation
AddSessionL(CMceSession *)
CancelTranscodeL(const CMceFileSource &, TUint32)
ConstructL()
void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
DefaultHeadersL(const TDesC8 &)
Events()
Gets currently ongoing events
FindAssociatedSession(TUint32)
FindRefer(const CMceEvent &)
Finds a refer instance for an event.
HandleIncomingEventL(TMceIds &)
void | HandleIncomingEventL | ( | TMceIds & | aIds | ) | |
InEventObserver()
Gets observer for incoming events
InReferObserver()
Gets observer for incoming refers
InSessionObserver()
Gets observer for incoming sessions
InTransactionObserver()
Gets transaction observer
IncomingSessionUpdateL(CMceInSession &, CMceSession &)
New session registers itself and deregisters its old (zombie) instance.
NewL(const TUid &, TMceTransactionDataContainer *)
Parameters
const TUid & aAppUid | Identification of the application. |
TMceTransactionDataContainer * aContainer = 0 | If set, detailed data provided in observers. Ownership is not transferred, instance must not be deleted in lifetime of CMceManager. |
PrepareForITC(TMceIds &, TUint)
Parameters
TMceIds & aId | |
TUint aRole | role as sip session manager or event manager |
ReceiveSupportedAudioCodecsL()
void | ReceiveSupportedAudioCodecsL | ( | ) | [private] |
Receives supported audio codecs
ReceiveSupportedVideoCodecsL()
void | ReceiveSupportedVideoCodecsL | ( | ) | [private] |
Receives supported video codecs
Refers()
Gets currently ongoing refers
RegisterEventL(CMceEvent *, CDesC8Array &, TUint32 &, TUint32)
Event registers itself to event manager
RegisterReferL(CMceRefer *, CDesC8Array &, TUint32 &)
Refer registers itself to event manager
RegisterSessionL(CMceSession *, CDesC8Array &, TUint32 &, TBool &)
Session registers itself to manager
Parameters
CMceSession * aSession | the session |
CDesC8Array & aParams | parameter list for dialog creation |
TUint32 & aDialogId | in/out dialog id |
TBool & aConnectionState | in/out connection state |
RemoveSession(CMceSession *)
ServerSession()
RMce & | ServerSession | ( | ) | const |
Sessions()
Gets currently ongoing sessions
SetDefaultHeadersL(CDesC8Array *, CDesC8Array *)
SetDtmfObserver(MMceDtmfObserver *)
Sets observer for DTMF events.
SetEventObserver(MMceEventObserver *)
Sets observer for incoming events.
Parameters
MMceEventObserver * aEventObserver | Observer of the event. Ownership is not transferred. May be NULL to remove observer. |
SetInEventObserver(MMceInEventObserver *)
Set observer for incoming events.
Parameters
MMceInEventObserver * aInEventObserver | Observer of the events. Ownership is not transferred. May be NULL to remove observer. |
SetInReferObserver(MMceInReferObserver *)
Set observer for incoming refers.
Parameters
MMceInReferObserver * aInReferObserver | Observer of the refers. Ownership is not transferred. May be NULL to remove observer. |
SetInSessionObserver(MMceInSessionObserver *)
Set observer for incoming sessions.
Parameters
MMceInSessionObserver * aInSessionObserver | Observer of the sessions. Ownership is not transferred. May be NULL to remove observer. |
SetInTransactionObserver(MMceInTransactionObserver *)
Sets observer for incoming SIP extension requests.
SetMediaObserver(MMceStreamObserver *)
Parameters
MMceStreamObserver * aMediaObserver | Observer of medias. Ownership is not transferred. May be NULL to remove observer. |
SetReferObserver(MMceReferObserver *)
Sets observer for incoming REFER events.
Parameters
MMceReferObserver * aReferObserver | Observer of the event. Ownership is not transferred. May be NULL to remove observer. |
SetRtpObserver(MMceRtpObserver *)
Parameters
MMceRtpObserver * aRtpObserver | Observer of rtp. Ownership is not transferred. May be NULL to remove observer. |
SetSessionObserver(MMceSessionObserver *)
Set observer for sessions.
Parameters
MMceSessionObserver * aSessionObserver | Observer of the sessions. Ownership is not transferred. May be NULL to remove observer. |
SetTransactionObserver(MMceTransactionObserver *)
Sets observer for incoming SIP responses to outgoing in-dialog requests.
SupportedAudioCodecs()
Returns supported audio codecs of the system.
SupportedVideoCodecs()
Returns supported video codecs of the system.
TransactionContainer()
Returs transaction container for detailed data.
TransactionObserver()
Gets transaction observer
TranscodeCompleted(const CMceFileSource &)
Called when trancoding is completed
TranscodeL(CMceFileSource &)
Starts transcoding of file
UnregisterEvent(CMceEvent *)
void | UnregisterEvent | ( | CMceEvent * | aEvent | ) | [private] |
Event unregisters itself to event manager
UnregisterRefer(CMceRefer *)
void | UnregisterRefer | ( | CMceRefer * | aRefer | ) | [private] |
Refer unregisters itself to event manager
UnregisterSession(CMceSession *)
Session unregisters itself to manager
Member Data Documentation
TMceTransactionDataContainer * iContainer
Transaction data container.
TBool
iDetailedCallbacks
TBool
| iDetailedCallbacks | [private] |
detailed callbacks wanted
MMceDtmfObserver * iDtmfObserver
MMceEventObserver * iEventObserver
CMceEventManagerReceiver * iEventReceiver
manager receiver for events
RPointerArray< CMceEvent > iEvents
MMceInEventObserver * iInEventObserver
manager observer for incoming events
MMceInReferObserver * iInReferObserver
manager observer for incoming refers
MMceInSessionObserver * iInSessionObserver
manager observer for incoming sessions
MMceInTransactionObserver * iMceInTransactionObserver
MCE In Transaction observer
MMceTransactionObserver * iMceTransactionObserver
MMceStreamObserver * iMediaObserver
MMceReferObserver * iReferObserver
RPointerArray< CMceRefer > iRefers
MMceRtpObserver * iRtpObserver
RMce * iServerSession
RMce * | iServerSession | [private] |
MMceSessionObserver * iSessionObserver
CMceManagerReceiver * iSessionReceiver
manager receiver for sessions
RPointerArray< CMceSession > iSessions
RPointerArray< const CMceAudioCodec > iSupportedAudioCodecs
RPointerArray< const CMceVideoCodec > iSupportedVideoCodecs
RPointerArray< CMceFileSource > iTranscodingFiles
currently transcoding files
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.