#include <mw/sipdialogassocbase.h>
| class CSIPDialogAssocBase : public CBase |
| Protected Attributes | |
|---|---|
| CSIPDialogAssocImplementation * | iImplementation |
| Public Member Functions | |
|---|---|
| virtual | ~CSIPDialogAssocBase() |
| virtual void | DeletingRefresh(CSIPRefresh &, TUint32) |
| IMPORT_C const CSIPDialog & | Dialog() |
| IMPORT_C CSIPDialog & | Dialog() |
| virtual CSIPRefresh * | FindRefresh(TUint32) |
| CSIPDialogAssocImplementation & | Implementation() |
| IMPORT_C TBool | IsNonTargetRefreshRequest(RStringF) |
| virtual IMPORT_C CSIPClientTransaction * | SendNonTargetRefreshRequestL(RStringF, CSIPMessageElements *) |
| IMPORT_C RStringF | Type() |
| Protected Member Functions | |
|---|---|
| CSIPDialogAssocBase() | |
| void | ConstructL(RStringF, CSIPDialog &) |
| void | ConstructL(RStringF, CSIPDialog &, CSIPServerTransaction &) |
Base class for SIP dialog associations. It provides services for getting associated SIP dialog, actual dialog association type and for sending non target refresh requests within the dialog association.
| CSIPDialogAssocImplementation * | iImplementation | [protected] |
Implementation instance, CSIPDialogAssocBase owns it
| void | ConstructL | ( | RStringF | aType, |
| CSIPDialog & | aDialog | |||
| ) | [protected] | |||
| void | ConstructL | ( | RStringF | aType, |
| CSIPDialog & | aDialog, | |||
| CSIPServerTransaction & | aTransaction | |||
| ) | [protected] | |||
| void | DeletingRefresh | ( | CSIPRefresh & | aRefresh, |
| TUint32 | aRefreshId | |||
| ) | [virtual] | |||
| IMPORT_C const CSIPDialog & | Dialog | ( | ) | const |
Gets the dialog this dialog association belongs to
Returns: associated dialog
| IMPORT_C CSIPDialog & | Dialog | ( | ) |
Gets dialog this dialog association belongs to
Returns: associated dialog
| CSIPRefresh * | FindRefresh | ( | TUint32 | aRefreshId | ) | [virtual] |
Searches for a refresh with the matching id. Default implementation returns NULL. Those classes derived from CSIPDialogAssocBase, which can contain refreshes must implement this function for searching the correct refresh.
Returns: CSIPRefresh if found, NULL otherwise. The ownership is not transferred.
| CSIPDialogAssocImplementation & | Implementation | ( | ) |
Returns the implementation instance.
Returns: CSIPDialogAssocImplementation
| IMPORT_C CSIPClientTransaction * | SendNonTargetRefreshRequestL | ( | RStringF | aMethod, |
| CSIPMessageElements * | aElements | |||
| ) | [virtual] | |||
Dialog().Connection().State() == EActive aMethod != "REGISTER" |"INVITE" | "BYE" | "CANCEL" | "ACK" | "SUBSCRIBE" | "NOTIFY" | "UPDATE" | "PRACK" | "REFER"
| Parameter | Description |
|---|---|
| aElements | contains optional SIP message headers and body. Ownership is transferred. |
Returns: SIP extension client transaction. Ownership is transferred.
| IMPORT_C RStringF | Type | ( | ) | const |
Gets dialog association type.
Returns: dialog association type e.g. "INVITE", "SUBSCRIBE" etc...