|
|
|
|
Location:
sipcontactheader.h
Link against: sipcodec.lib
class CSIPContactHeader : public CSIPParameterHeaderBase;
Class provides functions for setting and getting SIP "Contact" header fields.
sipcodec.lib
CBase - Base class for all classes to be instantiated on the heap
CSIPHeaderBase - Class provides a generic interface for all the SIP headers
CSIPParameterHeaderBase - A base class for SIP headers that have structure "mandatory part"delimiter"parameters"
CSIPContactHeader - Class provides functions for setting and getting SIP "Contact" header fields
Defined in CSIPContactHeader:
CloneL(), DecodeL(), ExpiresParameter(), InternalizeValueL(), Name(), NewL(), NewLC(), QParameter(), SIPAddress(), SIPAddress(), SetExpiresParameterL(), SetQParameterL(), SetSIPAddressL(), Star(), operator==(), ~CSIPContactHeader()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
Inherited from CSIPHeaderBase:
ExternalizeL(),
ExternalizeSupported(),
PushLC(),
ToTextL(),
ToTextLC(),
ToTextValueLC()
Inherited from CSIPParameterHeaderBase:
DeleteParam(),
HasParam(),
Param(),
ParamCount(),
ParamValue(),
SetParamL(),
ToTextValueL()
static IMPORT_C CSIPContactHeader *NewL(CSIPAddress *aSIPAddress);
aSIPAddress != 0
Creates a new instance of CSIPContactHeader
|
|
static IMPORT_C CSIPContactHeader *NewLC(CSIPAddress *aSIPAddress);
aSIPAddress != 0
Creates a new instance of CSIPContactHeader and puts it to CleanupStack
|
|
static IMPORT_C RPointerArray< CSIPContactHeader > DecodeL(const TDesC8 &aValue);
Constructs a CSIPContactHeader from textual representation of the header's value part. Note that "Contact: *" can be only created using this function.
|
|
IMPORT_C TBool operator==(const CSIPContactHeader &aHeader) const;
Compares this object to another instance of CSIPContactHeader
|
|
IMPORT_C TBool Star() const;
Checks if the address is set to a STAR ("*")
|
IMPORT_C TInt ExpiresParameter() const;
Gets the value of the "expires"-parameter
|
IMPORT_C void SetExpiresParameterL(TInt aExpiresParam);
aExpiresParam >= 0
Sets the "expires"-parameter
|
IMPORT_C TReal QParameter() const;
Star() == EFalse
Gets the value of "q"-parameter
|
IMPORT_C void SetQParameterL(TReal aQValue);
Star() == EFalse
Sets the "q"-parameter value in the "Contact" header
|
IMPORT_C const CSIPAddress *SIPAddress() const;
Gets the name-address as const
|
IMPORT_C CSIPAddress *SIPAddress();
Gets the name-address
|
IMPORT_C void SetSIPAddressL(CSIPAddress *aSIPAddress);
Star() == EFalse
aSIPAddress != 0
Sets the name-address
|
static IMPORT_C CSIPHeaderBase *InternalizeValueL(RReadStream &aReadStream);
Constructs an instance of a CSIPContactHeader from a RReadStream
|
|
virtual IMPORT_C CSIPHeaderBase *CloneL() const;
From CSIPHeaderBase CloneL
|