CSIPDialog Class Reference
class CSIPDialog : public CBase
|
Class for managing SIP dialogs. It provides services querying dialog state, obtaining the dialog related SIP headers and getting all dialog associations.
The user of the class cannot instantiate this class. sipclient
Constructor & Destructor Documentation
Member Functions Documentation
CallIdL()
Gets Call-ID of SIP dialog
-
Pre-condition
-
State()
==CSIPDialogEEarly ||
State()
==CSIPDialogEConfirmed
-
leave
-
KErrSIPInvalidDialogState if dialog doesn't yet have a Call-ID
Connection()
Gets the SIP connection used for this dialog
Connection()
Gets the SIP connection used for this dialog.
ConstructL(CSIPConnectionImplementation &)
ConstructL(CSIPConnectionImplementation &, const MSIPRegistrationContext &)
FromHeader()
Gets originator's address
IsAssociated(const CSIPDialogAssocBase &)
Checks if the dialog association belongs to this dialog
NewL(CSIPConnectionImplementation &)
Two-phased constructor. This constructor should be used if the user has received SIP request that creates a SIP dialog association.
NewL(CSIPConnectionImplementation &, const MSIPRegistrationContext &)
Two-phased constructor This constructor should be used if the user has received SIP request that creates a SIP dialog association.
NewLC(CSIPConnectionImplementation &)
Two-phased constructor This constructor should be used if the user has received SIP request that creates a SIP dialog association.
NewLC(CSIPConnectionImplementation &, const MSIPRegistrationContext &)
Two-phased constructor This constructor should be used if the user has received SIP request that creates a SIP dialog association.
RegistrationContext()
Gets used registration context for this dialog
RemoteURI()
IMPORT_C const
CUri8
&
|
RemoteURI
|
(
|
)
|
const
|
Gets remote-uri used during dialog creation
ReuseInitialRequestData()
IMPORT_C
TInt
|
ReuseInitialRequestData
|
(
|
)
|
|
Sets the dialog to state to
CSIPDialog::EInit
. The local dialog identifier data (Call-ID, CSeq and From-header's tag) will be reused. After calling this function, the dialog that was already terminated can be used for sending the dialog initiating request such as INVITE or SUBSCRIBE reusing the stored Call-ID and From-header's tag and the stored CSeq incremented by one.
-
Pre-condition
-
State()
==CSIPDialogETerminated
SIPDialogAssociations()
Gets all dialog associations.
__DbgTestInvariant()
void
|
__DbgTestInvariant
|
(
|
)
|
const [private]
|
operator==(const CSIPDialog &)
Compares this object to another object
Parameters
const
CSIPDialog
& aDialog
|
CSIPDialog object to compare
|
Member Enumerations Documentation
Enum TState
Enumerators
EInit
|
Initiliazed state
|
EEarly
|
Early state
|
EConfirmed
|
Confirmed state
|
ETerminated
|
Terminated state
|
Member Data Documentation
CSIPDialogImplementation * iImplementation
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.