#include <mw/sipresponseelements.h>
Link against: sipclient.lib
class CSIPResponseElements : public CBase |
Public Member Functions | |
---|---|
~CSIPResponseElements() | |
IMPORT_C const CSIPCSeqHeader * | CSeqHeader() |
void | ExternalizeL(RWriteStream &) |
IMPORT_C const CSIPFromHeader * | FromHeader() |
CSIPResponseElements * | InternalizeL(RReadStream &) |
CSIPResponseElements * | InternalizeLC(RReadStream &) |
IMPORT_C const CSIPMessageElements & | MessageElements() |
IMPORT_C CSIPMessageElements & | MessageElements() |
IMPORT_C CSIPResponseElements * | NewL(TUint, RStringF) |
IMPORT_C CSIPResponseElements * | NewLC(TUint, RStringF) |
IMPORT_C RStringF | ReasonPhrase() |
IMPORT_C void | SetReasonPhraseL(RStringF) |
IMPORT_C void | SetStatusCodeL(TUint) |
IMPORT_C TUint | StatusCode() |
IMPORT_C const CSIPToHeader * | ToHeader() |
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.
IMPORT_C const CSIPCSeqHeader * | CSeqHeader | ( | ) | const |
Gets CSeq-header
void | ExternalizeL | ( | RWriteStream & | aWriteStream | ) | const |
IMPORT_C const CSIPFromHeader * | FromHeader | ( | ) | const |
Gets the originator's From-header
CSIPResponseElements * | InternalizeL | ( | RReadStream & | aReadStream | ) | [static] |
CSIPResponseElements * | InternalizeLC | ( | RReadStream & | aReadStream | ) | [static] |
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.
IMPORT_C CSIPResponseElements * | NewL | ( | TUint | aStatusCode, |
RStringF | aReasonPhrase | |||
) | [static] |
Parameters | |
---|---|
aStatusCode | a known SIP response status code. Cannot be 100. |
aReasonPhrase | a SIP response reason phrase. |
IMPORT_C CSIPResponseElements * | NewLC | ( | TUint | aStatusCode, |
RStringF | aReasonPhrase | |||
) | [static] |
Parameters | |
---|---|
aStatusCode | a known SIP response status code. Cannot be 100. |
aReasonPhrase | a SIP response reason phrase. |
IMPORT_C RStringF | ReasonPhrase | ( | ) | const |
Gets a SIP Response Reason Phrase.
IMPORT_C void | SetReasonPhraseL | ( | RStringF | aReasonPhrase | ) |
Sets a SIP Response Reason Phrase.
Parameters | |
---|---|
aReasonPhrase | a SIP response reason phrase. |
IMPORT_C void | SetStatusCodeL | ( | TUint | aStatusCode | ) |
Parameters | |
---|---|
aStatusCode | extension status code |
Leave Codes | |
---|---|
KErrArgument | if aStatusCode < 100 or aStatusCode >= 700 |
IMPORT_C TUint | StatusCode | ( | ) | const |
Gets the SIP Response status code
IMPORT_C const CSIPToHeader * | ToHeader | ( | ) | const |
Gets the recipient's To-header