API published in: S60 2nd Ed
Link against: sipclient.lib
Location NetworkControl NetworkServices ReadDeviceData WriteDeviceData
#include <siptransactionbase.h>
Inherited by CSIPClientTransaction, and CSIPServerTransaction.
This class is an abstract class and cannot be instantiated.
Public Types | |
| enum | TState { ETrying, ECalling, EProceeding, ECompleted, EConfirmed, ETerminated, EConstructing } |
| SIP transaction state. More... | |
Public Member Functions | |
| virtual | ~CSIPTransactionBase () |
| Destructor. | |
| IMPORT_C RStringF | Type () const |
| Gets the SIP transaction type. | |
| IMPORT_C CSIPTransactionBase::TState | StateL () |
| Gets SIP transaction state. | |
| IMPORT_C TBool | IsSIPClientTransaction () const |
| Checks the if the actual object is of type CSIPClientTransaction. | |
| IMPORT_C TBool | operator== (const CSIPTransactionBase &aTransaction) const |
| Compares this object to another object also having CSIPTransactionBase base class The function has to be implemented in each of the sub-classes. | |
| TUint32 | RequestId () const |
| Obtains the RequestId of the transaction. | |
| virtual void | Detach (const MTransactionAssociation &aAssociation) |
| Clears the MTransactionAssociation. | |
| void | ChangeState (CSIPTransactionBase::TState aNextState) |
| Changes the transaction state. | |
| TBool | AffectsDialogState () const |
| Determines whether this transaction has an effect on the associated dialog's state. | |
| void | SetAffectsDialogState () |
| Sets this transaction to affect the dialog state. | |
| void | SetResponseElements (CSIPResponseElements *aElements) |
| Stores response elements. | |
Static Public Member Functions | |
| static TBool | IsTargetRefresh (RStringF aType) |
| Determines whether the transaction type is a target refresh request. | |
Protected Member Functions | |
| CSIPTransactionBase (TBool aIsClientTransaction, TUint32 aRequestId, MTransactionAssociation &aAssociation) | |
| void | ConstructL (RStringF aType) |
| void | CheckAssociationL () const |
| Checks that iAssociation is available (not NULL). | |
| const CSIPResponseElements * | ResponseElements () const |
| Gets response elements. | |
Protected Attributes | |
| TUint32 | iRequestId |
| MTransactionAssociation * | iAssociation |
|
|
SIP transaction state. |
|
|
Destructor. |
| ||||||||||||||||
|
|
Determines whether this transaction has an effect on the associated dialog's state.
|
|
|
Changes the transaction state.
|
|
|
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. |
|
|
|
Clears the MTransactionAssociation. After this the object can't be used anymore and it is expected that user will delete it soon.
|
|
|
Checks the if the actual object is of type CSIPClientTransaction.
|
|
|
Determines whether the transaction type is a target refresh request.
|
|
|
Compares this object to another object also having CSIPTransactionBase base class The function has to be implemented in each of the sub-classes.
|
|
|
Obtains the RequestId of the transaction.
|
|
|
Gets response elements.
Reimplemented in CSIPClientTransaction. |
|
|
Sets this transaction to affect the dialog state. |
|
|
Stores response elements. Depending on the status code, transaction may enter another state.
|
|
|
Gets SIP transaction state.
|
|
|
Gets the SIP transaction type.
|
|
|