API published in: S60 2nd Ed
Link against: sipclient.lib
Location NetworkControl NetworkServices ReadDeviceData WriteDeviceData
#include <siprefresh.h>
Note that only stand-alone refreshes (i.e. refreshes that are not associated with registration binding or dialog associations) can be terminated or updated using functions defined in this class.
Public Types | |
| enum | TState { EInactive, EActive, ETerminated, EConstructing } |
| SIP refresh states. More... | |
Public Member Functions | |
| IMPORT_C | ~CSIPRefresh () |
| Destructor. | |
| IMPORT_C CSIPRefresh::TState | State () const |
| Gets the state of the refresh. | |
| IMPORT_C TBool | IsStandAlone () const |
| Tests if the refresh is a stand-alone refresh. | |
| IMPORT_C const CSIPClientTransaction * | SIPTransaction () const |
| Gets the associated SIP transaction with this refresh. | |
| IMPORT_C CSIPClientTransaction * | TerminateL (CSIPMessageElements *aElements=0) |
| Terminates the refresh by sending SIP request to the remote destination. | |
| IMPORT_C CSIPClientTransaction * | UpdateL (CSIPMessageElements *aElements=0) |
| Updates the refresh by sending SIP request to the remote destination. | |
| IMPORT_C TBool | operator== (const CSIPRefresh &aRefresh) const |
| Compares this object to another object. | |
| IMPORT_C TUint | IntervalL () const |
| Gets current refresh interval. | |
| IMPORT_C void | SetIntervalL (TUint aInterval) |
| Sets refresh interval. | |
| TBool | DoesMatch (TUint32 aRefreshId) const |
| void | SetRefreshOwner (MSIPRefreshAssociation &aAssoc) |
| Associate the CSIPRefresh with another object. | |
| void | RemoveRefreshOwner (const MSIPRefreshAssociation &aAssoc) |
| void | ChangeState (CSIPRefresh::TState aNextState) |
| void | UpdateRefreshState (TUint aStatusCode) |
| TUint32 | RefreshId () const |
| void | SetRefreshIdIfEmpty (TUint32 aRefreshId) |
| RStringF | RequestType () const |
| void | SetRequestType (RStringF aType) |
| void | AddTransaction (CSIPClientTransaction &aTransaction) |
| void | RemoveTransaction () |
| CSIPClientTransaction * | Transaction () |
Static Public Member Functions | |
| static IMPORT_C CSIPRefresh * | NewL () |
| Two-phased constructor. | |
| static IMPORT_C CSIPRefresh * | NewLC () |
| Two-phased constructor. | |
|
|
SIP refresh states. |
|
|
Destructor. |
|
|
|
|
|
Gets current refresh interval.
|
|
|
Tests if the refresh is a stand-alone refresh.
|
|
|
Two-phased constructor.
|
|
|
Two-phased constructor.
|
|
|
Compares this object to another object.
|
|
|
|
|
|
|
Sets refresh interval. Note that SIP server choses the refresh interval. This function should be used only if SIP server has indicated new refresh interval using SIP messages that are not associated to the refresh needing the update.
|
|
|
|
Associate the CSIPRefresh with another object.
|
|
|
|
Gets the associated SIP transaction with this refresh.
|
|
|
Gets the state of the refresh.
|
|
|
Terminates the refresh by sending SIP request to the remote destination. The new client transactation will be of the same type as the first transaction associated with this request.
|
|
|
|
Updates the refresh by sending SIP request to the remote destination. The new client transactation will be of the same type as the first transaction associated with this request.
|
|