Location:
siprequestelements.h
Link against: sipclient.lib
class CSIPRequestElements : public CBase;
Class provides functions for creation and manipulation of originator's and recipient's addresses in a SIP request. It also provide functions for manipulation of SIP method for unknown SIP requests. sipclient.lib
CBase
- Base class for all classes to be instantiated on the heap
CSIPRequestElements
- Class provides functions for creation and manipulation of originator's and recipient's addresses in a SIP request
Defined in CSIPRequestElements
:
CSeqHeader()
, FromHeader()
, MessageElements()
, MessageElements()
, Method()
, NewL()
, NewLC()
, RemoteUri()
, SetFromHeaderL()
, SetMethodL()
, SetRemoteUriL()
, SetToHeaderL()
, ToHeader()
, ~CSIPRequestElements()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CSIPRequestElements *NewL(CUri8 *aRemoteUri);
aRemoteURi != 0
Two-phased constructor. If the URI is SIP URI, no SIP URI headers are allowed.
|
|
static IMPORT_C CSIPRequestElements *NewLC(CUri8 *aRemoteUri);
aRemoteURi != 0
Two-phased constructor. If the URI is SIP URI, no SIP URI headers are allowed.
|
|
IMPORT_C void SetToHeaderL(CSIPToHeader *aTo);
aTo != 0
Sets/resets the recipient's To-header To-header must not contain tag-parameter.
|
IMPORT_C const CSIPToHeader *ToHeader() const;
Gets the recipient's To-header
|
IMPORT_C void SetFromHeaderL(CSIPFromHeader *aFrom);
aFrom != 0
Sets/resets the originator's From-header. From-header must not contain tag-parameter.
|
|
IMPORT_C const CSIPFromHeader *FromHeader() const;
Gets the originator's From-header
|
IMPORT_C const CSIPCSeqHeader *CSeqHeader() const;
Gets CSeq-header. Available for only incoming requests.
|
IMPORT_C void SetRemoteUriL(CUri8 *aRemoteUri);
aRemoteUri != 0
Sets the remote URI. If the URI is a SIP URI, no SIP URI headers are allowed.
|
|
IMPORT_C const CUri8 &RemoteUri() const;
Gets the remote target URI
|
IMPORT_C void SetMethodL(RStringF aMethod);
Sets the SIP request method
|
|
IMPORT_C RStringF Method() const;
Gets the SIP Method for a request
|
IMPORT_C const CSIPMessageElements &MessageElements() const;
Gets message elements (contains all SIP user headers and content)
|
IMPORT_C CSIPMessageElements &MessageElements();
Gets message elements (contains all SIP user headers and content) The response elements can be populated with SIP user headers and content using returned reference to the message elements.
|