#include <mw/sipcontactheader.h>
Link against: sipcodec.lib
class CSIPContactHeader : public CSIPParameterHeaderBase |
Public Member Functions | |
---|---|
~CSIPContactHeader() | |
RPointerArray< CSIPHeaderBase > | BaseDecodeL(const TDesC8 &) |
virtual IMPORT_C CSIPHeaderBase * | CloneL() |
virtual RStringF | CompactName() |
IMPORT_C RPointerArray< CSIPContactHeader > | DecodeL(const TDesC8 &) |
IMPORT_C TInt | ExpiresParameter() |
virtual TBool | HasCompactName() |
IMPORT_C CSIPHeaderBase * | InternalizeValueL(RReadStream &) |
virtual TBool | MoreThanOneAllowed() |
virtual IMPORT_C RStringF | Name() |
IMPORT_C CSIPContactHeader * | NewL(CSIPAddress *) |
IMPORT_C CSIPContactHeader * | NewLC(CSIPAddress *) |
virtual TPreferredPlace | PreferredPlaceInMessage() |
IMPORT_C TReal | QParameter() |
IMPORT_C void | RemoveExpiresParam() |
IMPORT_C const CSIPAddress * | SIPAddress() |
IMPORT_C CSIPAddress * | SIPAddress() |
IMPORT_C void | SetExpiresParameterL(TInt) |
IMPORT_C void | SetQParameterL(TReal) |
IMPORT_C void | SetSIPAddressL(CSIPAddress *) |
IMPORT_C TBool | Star() |
IMPORT_C TBool | operator==(const CSIPContactHeader &) |
Inherited Attributes | |
---|---|
CSIPHeaderBase::iLink |
Inherited Enumerations | |
---|---|
CSIPHeaderBase:TPreferredPlace |
Class provides functions for setting and getting SIP "Contact" header fields.
IMPORT_C | ~CSIPContactHeader | ( | ) |
Destructor, deletes the resources of CSIPContactHeader.
RPointerArray< CSIPHeaderBase > | BaseDecodeL | ( | const TDesC8 & | aValue | ) | [static] |
IMPORT_C CSIPHeaderBase * | CloneL | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::CloneL()const
From CSIPHeaderBase CloneL
IMPORT_C RPointerArray< CSIPContactHeader > | DecodeL | ( | const TDesC8 & | aValue | ) | [static] |
Constructs a CSIPContactHeader from textual representation of the header's value part. Note that "Contact: *" can be only created using this function.
Parameters | |
---|---|
aValue | a value part of a "Contact"-header |
IMPORT_C TInt | ExpiresParameter | ( | ) | const |
Gets the value of the "expires"-parameter
IMPORT_C CSIPHeaderBase * | InternalizeValueL | ( | RReadStream & | aReadStream | ) | [static] |
Constructs an instance of a CSIPContactHeader from a RReadStream
Parameters | |
---|---|
aReadStream | a stream containing the value of the externalized object (header name not included). |
TBool | MoreThanOneAllowed | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::MoreThanOneAllowed()const
IMPORT_C RStringF | Name | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::Name()const
From CSIPHeaderBase Name
IMPORT_C CSIPContactHeader * | NewL | ( | CSIPAddress * | aSIPAddress | ) | [static] |
Parameters | |
---|---|
aSIPAddress | a name-address, the ownership is transferred |
IMPORT_C CSIPContactHeader * | NewLC | ( | CSIPAddress * | aSIPAddress | ) | [static] |
Parameters | |
---|---|
aSIPAddress | a name-address, the ownership is transferred |
TPreferredPlace | PreferredPlaceInMessage | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::PreferredPlaceInMessage()const
IMPORT_C const CSIPAddress * | SIPAddress | ( | ) | const |
Gets the name-address as const
IMPORT_C CSIPAddress * | SIPAddress | ( | ) |
Gets the name-address
IMPORT_C void | SetExpiresParameterL | ( | TInt | aExpiresParam | ) |
Parameters | |
---|---|
aExpiresParam | a "expires"-parameter value to set |
IMPORT_C void | SetSIPAddressL | ( | CSIPAddress * | aSIPAddress | ) |
aSIPAddress != 0
Parameters | |
---|---|
aSIPAddress | a name-address to set, the ownership is transferred |
IMPORT_C TBool | Star | ( | ) | const |
Checks if the address is set to a STAR ("*")
IMPORT_C TBool | operator== | ( | const CSIPContactHeader & | aHeader | ) | const |
Compares this object to another instance of CSIPContactHeader
Parameters | |
---|---|
aHeader | a CSIPContactHeader header to compare to |