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 TBool IsRequest ()
IMPORT_C RStringF Method ()
IMPORT_C CSIPRequest * NewL ()
IMPORT_C CSIPRequest * NewL ( RStringF )
IMPORT_C CSIPRequest * NewLC ()
IMPORT_C CSIPRequest * NewLC ( RStringF )
IMPORT_C CURIContainer * RequestURI ()
IMPORT_C void SetMethodL (const TDesC8 &)
IMPORT_C void SetMethodL ( RStringF )
IMPORT_C void SetRequestURIL ( CURIContainer *)
Private Member Functions
CSIPRequest ()
void ConstructL ()
void ConstructL ( 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()

void ConstructL ( ) [private]

ConstructL(RStringF)

void ConstructL ( RStringF aMethod ) [private]

Parameters

RStringF aMethod

IsRequest()

IMPORT_C TBool IsRequest ( ) const [virtual]

From CSIPMessage IsRequest

Method()

IMPORT_C RStringF Method ( ) const

Gets the SIP method

NewL()

IMPORT_C CSIPRequest * NewL ( ) [static]

Creates a new instance of CSIPRequest

NewL(RStringF)

IMPORT_C CSIPRequest * NewL ( RStringF aMethod ) [static]

Creates a new instance of CSIPRequest

Parameters

RStringF aMethod a 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 ( RStringF aMethod ) [static]

Creates a new instance of CSIPRequest and pushes it to CleanupStack

Parameters

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

RequestURI()

IMPORT_C CURIContainer * RequestURI ( )

Gets the request URI

SetMethodL(const TDesC8 &)

IMPORT_C void SetMethodL ( const TDesC8 & aMethod )

Sets the SIP method

Parameters

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

SetMethodL(RStringF)

IMPORT_C void SetMethodL ( RStringF aMethod )

Sets the SIP method

Parameters

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

SetRequestURIL(CURIContainer *)

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

Parameters

CURIContainer * aRequestURI the ownership is transferred

ToTextFirstLineLC()

HBufC8 * ToTextFirstLineLC ( ) const [private, virtual]

Member Data Documentation

RStringF iMethod

RStringF iMethod [private]

CURIContainer * iRequestURI

CURIContainer * iRequestURI [private]