CSIPContactHeader Class Reference
class CSIPContactHeader : public CSIPParameterHeaderBase |
Class provides functions for setting and getting SIP "Contact" header fields.
sipcodec.lib
Inherited Functions |
---|
| CBase::CBase() |
| CBase::Delete(CBase *) |
| CBase::Extension_(TUint,TAny *&,TAny *) |
| CBase::operator new(TUint) |
| CBase::operator new(TUint,TAny *) |
| CBase::operator new(TUint,TLeave) |
| CBase::operator new(TUint,TLeave,TUint) |
| CBase::operator new(TUint,TUint) |
| CBase::~CBase() |
| CSIPHeaderBase::CSIPHeaderBase() |
| CSIPHeaderBase::EncodeMultipleToOneLine()const |
| CSIPHeaderBase::ExternalizeL(RWriteStream &,TBool)const |
| CSIPHeaderBase::ExternalizeNameL(RWriteStream &)const |
| CSIPHeaderBase::ExternalizeSupported()const |
| CSIPHeaderBase::IsExtensionHeader()const |
| CSIPHeaderBase::PushLC(RPointerArray< CSIPHeaderBase > *) |
| CSIPHeaderBase::ResetAndDestroy(TAny *) |
| CSIPHeaderBase::ToTextL()const |
| CSIPHeaderBase::ToTextLC()const |
| CSIPHeaderBase::ToTextValueLC()const |
| CSIPHeaderBase::~CSIPHeaderBase() |
| CSIPParameterHeaderBase::CSIPParameterHeaderBase(const TChar &) |
| CSIPParameterHeaderBase::DeleteParam(RStringF) |
| CSIPParameterHeaderBase::HasParam(RStringF)const |
| CSIPParameterHeaderBase::Param(TInt,RStringF &)const |
| CSIPParameterHeaderBase::ParamCount()const |
| CSIPParameterHeaderBase::ParamValue(RStringF)const |
| CSIPParameterHeaderBase::ParseL(const TDesC8 &,TBool,TBool) |
| CSIPParameterHeaderBase::SetParamL(RStringF) |
| CSIPParameterHeaderBase::SetParamL(RStringF,RStringF) |
| CSIPParameterHeaderBase::ToTextValueL()const |
| CSIPParameterHeaderBase::~CSIPParameterHeaderBase() |
Constructor & Destructor Documentation
CSIPContactHeader(TBool)
CSIPContactHeader | ( | TBool | aIsStar = EFalse | ) | [private] |
~CSIPContactHeader()
IMPORT_C | ~CSIPContactHeader | ( | ) | |
Member Functions Documentation
BaseDecodeL(const TDesC8 &)
ConstructL()
void | ConstructL | ( | ) | [private] |
ConstructL(CSIPAddress *)
ConstructL(const CSIPContactHeader &)
DecodeL(const TDesC8 &)
Constructs a CSIPContactHeader from textual representation of the header's value part. Note that "Contact: *" can be only created using this function.
Parameters
const TDesC8 & aValue | a value part of a "Contact"-header |
DoInternalizeValueL(RReadStream &)
void | DoInternalizeValueL | ( | RReadStream & | aReadStream | ) | [private] |
ExpiresParameter()
IMPORT_C TInt | ExpiresParameter | ( | ) | const |
Gets the value of the "expires"-parameter
ExternalizeValueL(RWriteStream &)
void | ExternalizeValueL | ( | RWriteStream & | aWriteStream | ) | const [private, virtual] |
HasCompactName()
TBool
| HasCompactName | ( | ) | const [virtual] |
InternalizeValueL(RReadStream &)
Parameters
RReadStream & aReadStream | a stream containing the value of the externalized object (header name not included). |
MoreThanOneAllowed()
TBool
| MoreThanOneAllowed | ( | ) | const [virtual] |
NewL(CSIPAddress *)
Parameters
CSIPAddress * aSIPAddress | a name-address, the ownership is transferred |
NewLC(CSIPAddress *)
Parameters
CSIPAddress * aSIPAddress | a name-address, the ownership is transferred |
ParamInsertionAllowed()
TBool
| ParamInsertionAllowed | ( | ) | const [private, virtual] |
ParseMandatoryPartL(const TDesC8 &)
void | ParseMandatoryPartL | ( | const TDesC8 & | aMandatoryPart | ) | [private, virtual] |
PreferredPlaceInMessage()
QParameter()
IMPORT_C TReal | QParameter | ( | ) | const |
Gets the value of "q"-parameter
- Pre-condition
- Star() == EFalse
RemoveExpiresParam()
IMPORT_C void | RemoveExpiresParam | ( | ) | |
Removes the "expires"-parameter
SIPAddress()
Gets the name-address as const
SetExpiresParameterL(TInt)
IMPORT_C void | SetExpiresParameterL | ( | TInt | aExpiresParam | ) | |
Sets the "expires"-parameter
- Pre-condition
- aExpiresParam >= 0
Parameters
TInt aExpiresParam | a "expires"-parameter value to set |
SetQParameterL(TReal)
IMPORT_C void | SetQParameterL | ( | TReal | aQValue | ) | |
Sets the "q"-parameter value in the "Contact" header
- Pre-condition
- Star() == EFalse
Parameters
TReal aQValue | a "q"-parameter value to set |
SetSIPAddressL(CSIPAddress *)
Sets the name-address
- Pre-condition
- Star() == EFalse
- aSIPAddress != 0
Parameters
CSIPAddress * aSIPAddress | a name-address to set, the ownership is transferred |
Star()
IMPORT_C TBool | Star | ( | ) | const |
Checks if the address is set to a STAR ("*")
ToTextMandatoryPartLC()
HBufC8 * | ToTextMandatoryPartLC | ( | ) | const [private, virtual] |
operator==(const CSIPContactHeader &)
Member Data Documentation
CSIPContactHeaderParams * iParams
CSIPAddress * iSIPAddress
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.