CSIPResponse Class Reference
class CSIPResponse : public CSIPMessage
|
Class provides functions for manipulating a SIP response and the reason phrase.
sipcodec.lib
Constructor & Destructor Documentation
CSIPResponse()
CSIPResponse
|
(
|
)
|
[private]
|
~CSIPResponse()
IMPORT_C
|
~CSIPResponse
|
(
|
)
|
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
ConstructL(TUint, RStringF)
void
|
ConstructL
|
(
|
TUint
|
aResponseCode,
|
|
RStringF
|
aReasonPhrase
|
|
)
|
[private]
|
IsErrorResponse()
IMPORT_C
TBool
|
IsErrorResponse
|
(
|
)
|
const
|
Checks if the response is an error response (>=300)
IsRequest()
IMPORT_C
TBool
|
IsRequest
|
(
|
)
|
const [virtual]
|
NewL(TUint, RStringF)
Creates a new instance of
CSIPResponse
-
Pre-condition
-
(aResponseCode >= 100 && aResponseCode < 700)
Parameters
TUint
aResponseCode
|
a response code
|
RStringF
aReasonPhrase
|
a textual description of the response reason
|
NewLC(TUint, RStringF)
Creates a new instance of
CSIPResponse
and pushes it to
CleanupStack
-
Pre-condition
-
(aResponseCode >= 100 && aResponseCode < 700)
Parameters
TUint
aResponseCode
|
a response code
|
RStringF
aReasonPhrase
|
a textual description of the response reason
|
ReasonPhrase()
IMPORT_C
RStringF
|
ReasonPhrase
|
(
|
)
|
const
|
Gets the SIP reason phrase
ResponseCode()
IMPORT_C
TUint
|
ResponseCode
|
(
|
)
|
const
|
Gets the SIP response code
SetReasonPhraseL(RStringF)
IMPORT_C void
|
SetReasonPhraseL
|
(
|
RStringF
|
aReasonPhrase
|
)
|
|
Sets the SIP reason phrase
SetReasonPhraseL(const TDesC8 &)
void
|
SetReasonPhraseL
|
(
|
const
TDesC8
&
|
aReasonPhrase
|
)
|
|
SetResponseCodeL(TUint)
IMPORT_C void
|
SetResponseCodeL
|
(
|
TUint
|
aResponseCode
|
)
|
|
Sets the SIP response code
-
Pre-condition
-
(aResponseCode >= 100 && aResponseCode < 700)
Parameters
TUint
aResponseCode
|
a response code
|
ToTextFirstLineLC()
HBufC8
*
|
ToTextFirstLineLC
|
(
|
)
|
const [private, virtual]
|
Type()
IMPORT_C
TType
|
Type
|
(
|
)
|
const
|
Gets the SIP response class of the response
Member Enumerations Documentation
Enum TType
Enumerators
E1XX = 1
|
|
E2XX
|
|
E3XX
|
|
E4XX
|
|
E5XX
|
|
E6XX
|
|
Member Data Documentation
TUint
iResponseCode
TUint
|
iResponseCode
|
[private]
|
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.