CConnectionCallback Class Reference
class CConnectionCallback : public CBase
|
Public Member Enumerations
|
enum
|
TCallbackMethod
{
ENone
= 0,
EIncomingRequest
,
EIncomingResponse
,
EIncomingResponseNewAssoc
,
EIncomingResponseInRegistration
,
EErrorOccuredTransaction
,
EErrorOccuredDialog
,
EErrorOccuredDialogTransaction
,
EErrorOccuredInRegistration
,
EErrorOccuredInRegistrationWithTransaction
,
EInviteCanceled
}
|
Constructor & Destructor Documentation
CConnectionCallback()
CConnectionCallback
|
(
|
)
|
[private]
|
Member Functions Documentation
CallErrorOccuredDialog(MSIPConnectionObserver &)
CallErrorOccuredDialogTransaction(MSIPConnectionObserver &)
CallErrorOccuredInRegistration(MSIPConnectionObserver &)
CallErrorOccuredInRegistrationWithTransaction(MSIPConnectionObserver &)
CallErrorOccuredTransaction(MSIPConnectionObserver &)
CallIncomingRequest(MSIPConnectionObserver &)
CallIncomingResponse(MSIPConnectionObserver &)
CallIncomingResponseInRegistration(MSIPConnectionObserver &)
CallIncomingResponseNewAssoc(MSIPConnectionObserver &)
CallInviteCanceled(MSIPConnectionObserver &)
ExecuteCallback(MSIPConnectionObserver &)
Makes a call to the selected callback method, passing the appropriate parameters to it. After the callback, if an object has been ordered to be deleted using the SetObjectToDelete(), it is deleted. Before calling this method,
Set()
must've been used to select the callback and to set the parameters. Once
ExecuteCallback()
has been called, it can't be called again before another
Set()
has been called.
-
Pre-condition
-
iCallbackId != ENone
-
Post-condition
-
iObjectToDelete == NULL
Set(TCallbackMethod, CSIPTransactionBase *, CSIPRegistrationBinding *, CSIPDialog *, CSIPDialogAssocBase *, TInt, CBase *)
Selects the callback method and sets the parameters to be passed for the callback. The callback is not yet called.
-
Pre-condition
-
aCallbackId != ENone
Parameters
TCallbackMethod
aCallbackId
|
Identifies the callback method to be used
|
CSIPTransactionBase
* aTransaction
|
Transaction to be passed to the callback or NULL if the callback doesn't take a transaction as a parameter. Depending on the selected callback, the ownership may be transferred.
|
CSIPRegistrationBinding
* aRegistration = NULL
|
Registration to be passed to the callback or NULL if the callback doesn't take a registration as a parameter. Ownership is not transferred.
|
CSIPDialog
* aDialog = NULL
|
Dialog to be passed to callback or NULL if the callback doesn't take a dialog as a parameter. Ownership is not transferred.
|
CSIPDialogAssocBase
* aDialogAssoc = NULL
|
Dialog association to be passed to the callback or NULL if the callback doesn't take a dialog association as a parameter. Depending on the selected callback, the ownership may be transferred.
|
TInt
aError =
KErrNone
|
Error value to be passed to the callback. Not all callbacks take this as their parameter
|
CBase
* aObjectToDelete = NULL
|
Instructs CConnectionCallback to delete the object pointed by aObjectToDelete, after the callback method has been called. aObjectToDelete typically points to one of the other parameters of Set() method. Ownership is transferred.
|
Member Enumerations Documentation
Enum TCallbackMethod
Enumerators
ENone = 0
|
|
EIncomingRequest
|
|
EIncomingResponse
|
|
EIncomingResponseNewAssoc
|
|
EIncomingResponseInRegistration
|
|
EErrorOccuredTransaction
|
|
EErrorOccuredDialog
|
|
EErrorOccuredDialogTransaction
|
|
EErrorOccuredInRegistration
|
|
EErrorOccuredInRegistrationWithTransaction
|
|
EInviteCanceled
|
|
Member Data Documentation
TCallbackMethod
iCallbackId
CSIPDialogAssocBase * iDialogAssoc
CBase * iObjectToDelete
CBase
*
|
iObjectToDelete
|
[private]
|
CSIPRegistrationBinding * iRegistration
CSIPTransactionBase * iTransaction
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.