class CMceInRefer : public CMceRefer |
Class for mobile terminated MCE refers.
CMceInRefer represents incoming request to perform an action. If the remote terminal expects notifications about how the action is proceeding, instance of CMceInEvent is also passed to the user. User is then responsible of sending notifications and finally terminate the event and refer. If notifications are not expected by the remote terminal, instance of CMceInEvent is not returned and refer is terminated as soon as either accept or reject response is sent.
This class is never instantiated by user, but the ownership is in any case transferred to it. See class MMceInReferObserver .
If for any reason instance of this class is deleted while in accepted state, it is automatically terminated by MCE server.
mceclient.lib
Public Member Functions | |
---|---|
~CMceInRefer () | |
IMPORT_C CMceInEvent * | AcceptL () |
TBool | IsInRefer () |
CMceInRefer * | NewL ( CMceManager &, TUint32 , CMceMsgSIPEvent &, CMceInEvent *) |
IMPORT_C void | RejectL () |
IMPORT_C CMceInEvent * | RespondL (const TDesC8 &, TUint32 , CDesC8Array *, HBufC8 *, HBufC8 *) |
Private Member Functions | |
---|---|
CMceInRefer ( CMceManager &, TUint32 , TUint32 , TUint32 , TType ) | |
void | ConstructL ( HBufC8 *, HBufC8 *, HBufC8 *, CMceInEvent *) |
Inherited Enumerations | |
---|---|
CMceRefer:TState | |
CMceRefer:TType |
CMceInRefer | ( | CMceManager & | aManager, |
TUint32 | aProfileId, | ||
TUint32 | aId, | ||
TUint32 | aDialogId, | ||
TType | aType | ||
) | [private] |
C++ default constructor.
CMceManager & aManager | |
TUint32 aProfileId | |
TUint32 aId | |
TUint32 aDialogId | |
TType aType |
IMPORT_C CMceInEvent * | AcceptL | ( | ) |
void | ConstructL | ( | HBufC8 * | aReferTo, |
HBufC8 * | aRecipient, | |||
HBufC8 * | aOrginator, | |||
CMceInEvent * | aInEvent | |||
) | [private] |
second-phase constructor
HBufC8 * aReferTo | |
HBufC8 * aRecipient | |
HBufC8 * aOrginator | |
CMceInEvent * aInEvent |
CMceInRefer * | NewL | ( | CMceManager & | aManager, |
TUint32 | aProfileId, | |||
CMceMsgSIPEvent & | aEventMsg, | |||
CMceInEvent * | aInEvent = NULL | |||
) | [static] |
Two-phased constructor.
CMceManager & aManager | |
TUint32 aProfileId | |
CMceMsgSIPEvent & aEventMsg | |
CMceInEvent * aInEvent = NULL |
IMPORT_C void | RejectL | ( | ) |
IMPORT_C CMceInEvent * | RespondL | ( | const TDesC8 & | aReason, |
TUint32 | aCode, | |||
CDesC8Array * | aHeaders = 0, | |||
HBufC8 * | aContentType = 0, | |||
HBufC8 * | aContent = 0 | |||
) |
const TDesC8 & aReason | |
TUint32 aCode | |
CDesC8Array * aHeaders = 0 | |
HBufC8 * aContentType = 0 | |
HBufC8 * aContent = 0 |
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.