CSIPTransactionBase Class Reference
class CSIPTransactionBase : public CBase |
Base class for managing SIP transactions. It provides services for querying transaction type and its state.
This class is an abstract class and cannot be instantiated. sipclient
Constructor & Destructor Documentation
CSIPTransactionBase(TBool, TUint32, MTransactionAssociation &)
~CSIPTransactionBase()
~CSIPTransactionBase | ( | ) | [virtual] |
Member Functions Documentation
AffectsDialogState()
TBool
| AffectsDialogState | ( | ) | const |
Determines whether this transaction has an effect on the associated dialog's state.
ChangeState(CSIPTransactionBase::TState)
Changes the transaction state.
CheckAssociationL()
void | CheckAssociationL | ( | ) | const [protected] |
Checks that iAssociation is available (not NULL). If iAssociation is NULL, it means user has deleted a resource needed by CSIPTransactionBase, and this function leaves.
ConstructL(RStringF)
void | ConstructL | ( | RStringF | aType | ) | [protected] |
Detach(const MTransactionAssociation &)
Clears the MTransactionAssociation. After this the object can't be used anymore and it is expected that user will delete it soon.
IsSIPClientTransaction()
IMPORT_C TBool | IsSIPClientTransaction | ( | ) | const |
IsTargetRefresh(RStringF)
Determines whether the transaction type is a target refresh request.
RequestId()
Obtains the RequestId of the transaction.
SetAffectsDialogState()
void | SetAffectsDialogState | ( | ) | |
Sets this transaction to affect the dialog state.
SetResponseElements(CSIPResponseElements *)
Stores response elements. Depending on the status code, transaction may enter another state.
StateL()
Gets SIP transaction state
- leave
- KErrSIPResourceNotAvailable if a required SIP Client API object has been deleted
Type()
Gets the SIP transaction type
__DbgTestInvariant()
void | __DbgTestInvariant | ( | ) | const [private] |
operator==(const CSIPTransactionBase &)
Compares this object to another object also having CSIPTransactionBase base class The function has to be implemented in each of the sub-classes.
Member Enumerations Documentation
Enum TState
Enumerators
ETrying |
Trying state
|
ECalling |
Calling state
|
EProceeding |
Proceeding state
|
ECompleted |
Completed state
|
EConfirmed |
Confirmed state
|
ETerminated |
Terminated state
|
EConstructing |
Object is being constructed and is not yet ready for use
|
Member Data Documentation
TBool
iAffectsDialogState
TBool
| iAffectsDialogState | [private] |
MTransactionAssociation * iAssociation
TBool
iIsClientTransaction
TBool
| iIsClientTransaction | [private] |
TUint32
iRequestId
RequestId received from SIP client
CSIPResponseElements * iResponseElements
CSIPTransactionBase::TState
iState
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.