CSIPRequestElements Class Reference
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
Constructor & Destructor Documentation
CSIPRequestElements()
CSIPRequestElements | ( | ) | [private] |
~CSIPRequestElements()
IMPORT_C | ~CSIPRequestElements | ( | ) | |
Member Functions Documentation
CSeqHeader()
Gets CSeq-header. Available for only incoming requests.
ConstructL(CUri8 *)
void | ConstructL | ( | CUri8 * | aRemoteUri | ) | [private] |
DoInternalizeL(RReadStream &)
ExternalizeL(RWriteStream &)
FromHeader()
Gets the originator's From-header
InternalizeL(RReadStream &)
MessageElements()
Gets message elements (contains all SIP user headers and content)
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.
Method()
Gets the SIP Method for a request
NewL(CUri8 *)
Two-phased constructor. If the URI is SIP URI, no SIP URI headers are allowed.
- Pre-condition
- aRemoteURi != 0
Parameters
CUri8 * aRemoteUri | Remote target URI that identifies a resource that the request is addressed to. The ownership is transferred. |
NewLC(CUri8 *)
Two-phased constructor. If the URI is SIP URI, no SIP URI headers are allowed.
- Pre-condition
- aRemoteURi != 0
Parameters
CUri8 * aRemoteUri | Remote target URI that identifies a resource that the request is addressed to. The ownership is transferred. |
RemoteUri()
IMPORT_C const CUri8 & | RemoteUri | ( | ) | const |
Gets the remote target URI
SetFromHeaderL(CSIPFromHeader *)
Sets/resets the originator's From-header. From-header must not contain tag-parameter.
- Pre-condition
- aFrom != 0
- leave
- KErrArgument if aFrom == 0
Parameters
CSIPFromHeader * aFrom | a From-header to be set, the ownership is transferred. |
SetMethodL(RStringF)
IMPORT_C void | SetMethodL | ( | RStringF | aMethod | ) | |
Sets the SIP request method
- leave
- KErrArgument if method name given is syntactically incorrect
SetRemoteUriL(CUri8 *)
IMPORT_C void | SetRemoteUriL | ( | CUri8 * | aRemoteUri | ) | |
Sets the remote URI. If the URI is a SIP URI, no SIP URI headers are allowed.
- Pre-condition
- aRemoteUri != 0
- leave
- KErrArgument if aRemoteUri==0
SetToHeaderL(CSIPToHeader *)
Sets/resets the recipient's To-header To-header must not contain tag-parameter.
- Pre-condition
- aTo != 0
Parameters
CSIPToHeader * aTo | a To-header to be set, the ownership is transferred. |
ToHeader()
Gets the recipient's To-header
Member Data Documentation
CSIPMessageElements * iMessageElements
CURIContainer * iRemoteURI
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.