CSIPRequest Class Reference

class CSIPRequest : public CSIPMessage

Class provides functions for manipulating a SIP request.

sipcodec.lib

Inherits from

Public Member Functions
~CSIPRequest()
IMPORT_C TBoolIsRequest()
IMPORT_C RStringFMethod()
IMPORT_C CSIPRequest *NewL()
IMPORT_C CSIPRequest *NewL(RStringF)
IMPORT_C CSIPRequest *NewLC()
IMPORT_C CSIPRequest *NewLC(RStringF)
IMPORT_C CURIContainer *RequestURI()
IMPORT_C voidSetMethodL(const TDesC8 &)
IMPORT_C voidSetMethodL(RStringF)
IMPORT_C voidSetRequestURIL(CURIContainer *)
Private Member Functions
CSIPRequest()
voidConstructL()
voidConstructL(RStringF)
HBufC8 *ToTextFirstLineLC()
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()
CSIPMessage::AddHeaderL(CSIPHeaderBase *)
CSIPMessage::AddHeaderL(const CSIPHeaderBase &)
CSIPMessage::AllHeadersL()
CSIPMessage::AnnouncedContentLength()const
CSIPMessage::CSIPMessage()
CSIPMessage::CSeq()
CSIPMessage::CallID()
CSIPMessage::Content()const
CSIPMessage::DeleteHeaders(RStringF)
CSIPMessage::EncodedHeaderPartLengthL()
CSIPMessage::ExternalizeHeadersL(RWriteStream &)
CSIPMessage::From()
CSIPMessage::HasAnnouncedContentLength()const
CSIPMessage::HasHeader(RStringF)const
CSIPMessage::Header(RStringF,TInt)
CSIPMessage::HeaderCount(RStringF)
CSIPMessage::Headers(RStringF)
CSIPMessage::InternalizeHeadersL(RReadStream &)
CSIPMessage::RemoveHeader(const CSIPHeaderBase *)
CSIPMessage::ReplaceHeaderL(CSIPHeaderBase *,CSIPHeaderBase *)
CSIPMessage::ReplaceHeadersL(RPointerArray< CSIPHeaderBase > &)
CSIPMessage::SIPVersion()const
CSIPMessage::SetContent(HBufC8 *)
CSIPMessage::SetSIPVersionL(const TDesC8 &)
CSIPMessage::TakeContentOwnershipL()
CSIPMessage::To()
CSIPMessage::ToTextHeaderPartL()
CSIPMessage::ToTextHeaderPartLC()
CSIPMessage::ToTextL()
CSIPMessage::ToTextLC()
CSIPMessage::~CSIPMessage()
Private Attributes
RStringF iMethod
CURIContainer *iRequestURI

Constructor & Destructor Documentation

CSIPRequest()

CSIPRequest()[private]

~CSIPRequest()

IMPORT_C~CSIPRequest()

Destructor

Member Functions Documentation

ConstructL()

voidConstructL()[private]

ConstructL(RStringF)

voidConstructL(RStringFaMethod)[private]

Parameters

RStringF aMethod

IsRequest()

IMPORT_C TBoolIsRequest()const [virtual]

From CSIPMessage IsRequest

Method()

IMPORT_C RStringFMethod()const

Gets the SIP method

NewL()

IMPORT_C CSIPRequest *NewL()[static]

Creates a new instance of CSIPRequest

NewL(RStringF)

IMPORT_C CSIPRequest *NewL(RStringFaMethod)[static]

Creates a new instance of CSIPRequest

Parameters

RStringF aMethoda SIP method (has to be a SIP token)

NewLC()

IMPORT_C CSIPRequest *NewLC()[static]

Creates a new instance of CSIPRequest and pushes it to CleanupStack

NewLC(RStringF)

IMPORT_C CSIPRequest *NewLC(RStringFaMethod)[static]

Creates a new instance of CSIPRequest and pushes it to CleanupStack

Parameters

RStringF aMethoda SIP method (has to be a SIP token)

RequestURI()

IMPORT_C CURIContainer *RequestURI()

Gets the request URI

SetMethodL(const TDesC8 &)

IMPORT_C voidSetMethodL(const TDesC8 &aMethod)

Sets the SIP method

Parameters

const TDesC8 & aMethoda SIP method (has to be a SIP token)

SetMethodL(RStringF)

IMPORT_C voidSetMethodL(RStringFaMethod)

Sets the SIP method

Parameters

RStringF aMethoda SIP method (has to be a SIP token)

SetRequestURIL(CURIContainer *)

IMPORT_C voidSetRequestURIL(CURIContainer *aRequestURI)
Sets the request URI
Pre-condition
aRequestURI != 0

Parameters

CURIContainer * aRequestURIthe ownership is transferred

ToTextFirstLineLC()

HBufC8 *ToTextFirstLineLC()const [private, virtual]

Member Data Documentation

RStringF iMethod

RStringF iMethod[private]

CURIContainer * iRequestURI

CURIContainer *iRequestURI[private]