#include <mw/siprequestelements.h>
Link against: sipclient.lib
class CSIPRequestElements : public CBase |
Public Member Functions | |
---|---|
~CSIPRequestElements() | |
IMPORT_C const CSIPCSeqHeader * | CSeqHeader() |
void | ExternalizeL(RWriteStream &) |
IMPORT_C const CSIPFromHeader * | FromHeader() |
CSIPRequestElements * | InternalizeL(RReadStream &) |
IMPORT_C const CSIPMessageElements & | MessageElements() |
IMPORT_C CSIPMessageElements & | MessageElements() |
IMPORT_C RStringF | Method() |
IMPORT_C CSIPRequestElements * | NewL(CUri8 *) |
IMPORT_C CSIPRequestElements * | NewLC(CUri8 *) |
IMPORT_C const CUri8 & | RemoteUri() |
IMPORT_C void | SetFromHeaderL(CSIPFromHeader *) |
IMPORT_C void | SetMethodL(RStringF) |
IMPORT_C void | SetRemoteUriL(CUri8 *) |
IMPORT_C void | SetToHeaderL(CSIPToHeader *) |
IMPORT_C const CSIPToHeader * | ToHeader() |
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.
IMPORT_C const CSIPCSeqHeader * | CSeqHeader | ( | ) | const |
Gets CSeq-header. Available for only incoming requests.
void | ExternalizeL | ( | RWriteStream & | aWriteStream | ) | const |
IMPORT_C const CSIPFromHeader * | FromHeader | ( | ) | const |
Gets the originator's From-header
CSIPRequestElements * | InternalizeL | ( | 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 RStringF | Method | ( | ) | const |
Gets the SIP Method for a request
IMPORT_C CSIPRequestElements * | NewL | ( | CUri8 * | aRemoteUri | ) | [static] |
Parameters | |
---|---|
aRemoteUri | Remote target URI that identifies a resource that the request is addressed to. The ownership is transferred. |
IMPORT_C CSIPRequestElements * | NewLC | ( | CUri8 * | aRemoteUri | ) | [static] |
Parameters | |
---|---|
aRemoteUri | Remote target URI that identifies a resource that the request is addressed to. The ownership is transferred. |
IMPORT_C void | SetFromHeaderL | ( | CSIPFromHeader * | aFrom | ) |
Parameters | |
---|---|
aFrom | a From-header to be set, the ownership is transferred. |
Leave Codes | |
---|---|
KErrArgument | if aFrom == 0 |
IMPORT_C void | SetMethodL | ( | RStringF | aMethod | ) |
Parameters | |
---|---|
aMethod | a SIP method name. |
Leave Codes | |
---|---|
KErrArgument | if method name given is syntactically incorrect |
IMPORT_C void | SetRemoteUriL | ( | CUri8 * | aRemoteUri | ) |
Leave Codes | |
---|---|
KErrArgument | if aRemoteUri==0 |
IMPORT_C void | SetToHeaderL | ( | CSIPToHeader * | aTo | ) |
Parameters | |
---|---|
aTo | a To-header to be set, the ownership is transferred. |
IMPORT_C const CSIPToHeader * | ToHeader | ( | ) | const |
Gets the recipient's To-header