#include <mw/sipdialog.h>
Link against: sipclient
class CSIPDialog : public CBase |
Public Member Enumerations | |
---|---|
enum | TState { EInit, EEarly, EConfirmed, ETerminated } |
Public Member Functions | |
---|---|
~CSIPDialog() | |
IMPORT_C const CSIPCallIDHeader & | CallIdL() |
IMPORT_C CSIPConnection * | Connection() |
IMPORT_C const CSIPConnection * | Connection() |
IMPORT_C const CSIPFromHeader & | FromHeader() |
CSIPDialogImplementation & | Implementation() |
IMPORT_C TBool | IsAssociated(const CSIPDialogAssocBase &) |
CSIPDialog * | NewL(CSIPConnectionImplementation &) |
CSIPDialog * | NewL(CSIPConnectionImplementation &, const MSIPRegistrationContext &) |
CSIPDialog * | NewLC(CSIPConnectionImplementation &) |
CSIPDialog * | NewLC(CSIPConnectionImplementation &, const MSIPRegistrationContext &) |
IMPORT_C const MSIPRegistrationContext * | RegistrationContext() |
IMPORT_C const CUri8 & | RemoteURI() |
IMPORT_C TInt | ReuseInitialRequestData() |
IMPORT_C const RPointerArray< CSIPDialogAssocBase > & | SIPDialogAssociations() |
IMPORT_C CSIPDialog::TState | State() |
IMPORT_C const CSIPToHeader & | ToHeader() |
IMPORT_C TBool | operator==(const CSIPDialog &) |
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.
Dialog states
Enumerator | Value | Description |
---|---|---|
EInit |
Initiliazed state | |
EEarly |
Early state | |
EConfirmed |
Confirmed state | |
ETerminated |
Terminated state |
IMPORT_C const CSIPCallIDHeader & | CallIdL | ( | ) | const |
Leave Codes | |
---|---|
KErrSIPInvalidDialogState | if dialog doesn't yet have a Call-ID |
IMPORT_C CSIPConnection * | Connection | ( | ) |
Gets the SIP connection used for this dialog
IMPORT_C const CSIPConnection * | Connection | ( | ) | const |
Gets the SIP connection used for this dialog.
IMPORT_C const CSIPFromHeader & | FromHeader | ( | ) | const |
Gets originator's address
CSIPDialogImplementation & | Implementation | ( | ) |
Returns the CSIPDialogImplementation.
IMPORT_C TBool | IsAssociated | ( | const CSIPDialogAssocBase & | aDialogAssoc | ) | const |
Checks if the dialog association belongs to this dialog
Parameters | |
---|---|
aDialogAssoc | a dialog association |
CSIPDialog * | NewL | ( | CSIPConnectionImplementation & | aConnImplementation | ) | [static] |
Two-phased constructor. This constructor should be used if the user has received SIP request that creates a SIP dialog association.
Parameters | |
---|---|
aConnImplementation | Implementation of the used SIP connection |
CSIPDialog * | NewL | ( | CSIPConnectionImplementation & | aConnImplementation, |
const MSIPRegistrationContext & | aContext | |||
) | [static] |
Two-phased constructor This constructor should be used if the user has received SIP request that creates a SIP dialog association.
Parameters | |
---|---|
aConnImplementation | Implementation of the used SIP connection |
aContext | Registration context whose outbound proxy and other parameters are to be used. |
CSIPDialog * | NewLC | ( | CSIPConnectionImplementation & | aConnImplementation | ) | [static] |
Two-phased constructor This constructor should be used if the user has received SIP request that creates a SIP dialog association.
Parameters | |
---|---|
aConnImplementation | Implementation of the used SIP connection |
CSIPDialog * | NewLC | ( | CSIPConnectionImplementation & | aConnImplementation, |
const MSIPRegistrationContext & | aContext | |||
) | [static] |
Two-phased constructor This constructor should be used if the user has received SIP request that creates a SIP dialog association.
Parameters | |
---|---|
aConnImplementation | Implementation of the used SIP connection |
aContext | Registration context whose outbound proxy and other parameters are to be used. |
IMPORT_C const MSIPRegistrationContext * | RegistrationContext | ( | ) | const |
Gets used registration context for this dialog
IMPORT_C const CUri8 & | RemoteURI | ( | ) | const |
Gets remote-uri used during dialog creation
IMPORT_C TInt | ReuseInitialRequestData | ( | ) |
IMPORT_C const RPointerArray< CSIPDialogAssocBase > & | SIPDialogAssociations | ( | ) | const |
Gets all dialog associations.
IMPORT_C const CSIPToHeader & | ToHeader | ( | ) | const |
Gets recipient's address
IMPORT_C TBool | operator== | ( | const CSIPDialog & | aDialog | ) | const |
Compares this object to another object
Parameters | |
---|---|
aDialog | CSIPDialog object to compare |