CSIPClientTransaction Class Reference
class CSIPClientTransaction : public CSIPTransactionBase |
Class for managing SIP client transactions. It provides services for ending and getting the SIP client transaction parameters. Some client transactions can also be canceled.
The user of the class cannot instante this class. sipclient
Constructor & Destructor Documentation
CSIPClientTransaction(MTransactionAssociation &, CSIPRefresh *)
~CSIPClientTransaction()
IMPORT_C | ~CSIPClientTransaction | ( | ) | |
Member Functions Documentation
CancelAllowed()
IMPORT_C TBool | CancelAllowed | ( | ) | const [virtual] |
Checks if the client transaction is such that it can be cancelled. This does no check whether the transaction is currently in such a state that the canceling can be done now.
CancelL()
Cancels client transaction i.e. creates a CANCEL request and sends it to the remote UA.
- Pre-condition
- State()==EProceeding
- CancelAllowed()==ETrue
- Connection().State()==EActive
- leave
- KErrSIPInvalidTransactionState if canceling is not possible at all, or because the transaction is not in a proper state or the transaction is not related to a dialog.
- leave
- KErrSIPResourceNotAvailable if a required SIP Client API object has been deleted
- capability
- NetworkServices
NewL(RStringF, MTransactionAssociation &, CSIPRefresh *)
Parameters
RStringF aType | Identifies the transaction type |
MTransactionAssociation & aAssociation | Object to which the transaction is associated with. |
CSIPRefresh * aRefresh = 0 | If transaction is refreshed, this points to a CSIPRefresh, otherwise this is NULL. Ownership is not transferred. |
NewLC(RStringF, MTransactionAssociation &, CSIPRefresh *)
Parameters
RStringF aType | Identifies the transaction type |
MTransactionAssociation & aAssociation | Object to which the transaction is associated with. |
CSIPRefresh * aRefresh = 0 | If transaction is refreshed, this points to a CSIPRefresh, otherwise this is NULL. Ownership is not transferred. |
Refresh()
Gets the associated refresh with the transaction. If the refresh is associated with the transaction, transaction will be refreshed at defined interval.
Refresh()
Gets the associated refresh with the transaction and allows modification fo the refresh. This method is for internal use only.
RemoveRefresh()
Clears the association from ClientTransaction to CSIPRefresh
ResponseElements()
Gets response elements of the most recent response.
SetRequestId(TUint32)
void | SetRequestId | ( | TUint32 | aRequestId | ) | |
Sets the RequestId.
- Pre-condition
- iRequestId == 0
- aRequestId != 0
Parameters
TUint32 aRequestId | RequestId obtained from SIP client |
Member Data Documentation
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.