Location:
sipresponseelements.h
Link against: sipclient.lib
class CSIPResponseElements : public CBase;
Class provides services for creating and manipulating SIP responses This class is used for creating and manipulating SIP responses including status code, reason phrase and optional elements such user headers, content and its type.
sipclient.lib
CBase
- Base class for all classes to be instantiated on the heap
CSIPResponseElements
- Class provides services for creating and manipulating SIP responses This class is used for creating and manipulating SIP
responses including status code, reason phrase and optional elements such user headers, content and its type
Defined in CSIPResponseElements
:
CSeqHeader()
, FromHeader()
, MessageElements()
, MessageElements()
, NewL()
, NewLC()
, ReasonPhrase()
, SetReasonPhraseL()
, SetStatusCodeL()
, StatusCode()
, ToHeader()
, ~CSIPResponseElements()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CSIPResponseElements *NewL(TUint aStatusCode, RStringF aReasonPhrase);
aStatusCode > 100 && aStatusCode < 700
Two-phased constructor.
|
|
static IMPORT_C CSIPResponseElements *NewLC(TUint aStatusCode, RStringF aReasonPhrase);
aStatusCode > 100 && aStatusCode < 700
Two-phased constructor.
|
|
IMPORT_C void SetStatusCodeL(TUint aStatusCode);
aStatusCode > 100 && aStatusCode < 700
Sets a SIP Response extension status code. It is not possible to set value 100.
|
|
IMPORT_C TUint StatusCode() const;
Gets the SIP Response status code
|
IMPORT_C void SetReasonPhraseL(RStringF aReasonPhrase);
Sets a SIP Response Reason Phrase.
|
IMPORT_C RStringF ReasonPhrase() const;
Gets a SIP Response Reason Phrase.
|
IMPORT_C const CSIPFromHeader *FromHeader() const;
Gets the originator's From-header
|
IMPORT_C const CSIPToHeader *ToHeader() const;
Gets the recipient's To-header
|
IMPORT_C const CSIPCSeqHeader *CSeqHeader() const;
Gets CSeq-header
|
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.
|