#include <mw/sipnotifydialogassoc.h>
class CSIPNotifyDialogAssoc : public CSIPDialogAssocBase |
Public Member Functions | |
---|---|
~CSIPNotifyDialogAssoc() | |
CSIPClientTransaction * | DoSendNotifyWithinDialogL(CSIPMessageElements *) |
IMPORT_C const CSIPEventHeader & | Event() |
IMPORT_C CSIPNotifyDialogAssoc * | NewL(CSIPServerTransaction &, CSIPEventHeader *, CSIPSubscriptionStateHeader *) |
IMPORT_C CSIPNotifyDialogAssoc * | NewL(CSIPServerTransaction &, const MSIPRegistrationContext &, CSIPEventHeader *, CSIPSubscriptionStateHeader *) |
IMPORT_C CSIPNotifyDialogAssoc * | NewLC(CSIPServerTransaction &, CSIPEventHeader *, CSIPSubscriptionStateHeader *) |
IMPORT_C CSIPNotifyDialogAssoc * | NewLC(CSIPServerTransaction &, const MSIPRegistrationContext &, CSIPEventHeader *, CSIPSubscriptionStateHeader *) |
IMPORT_C CSIPClientTransaction * | SendNotifyL(CSIPMessageElements *) |
IMPORT_C CSIPSubscriptionStateHeader & | SubscriptionState() |
IMPORT_C const CSIPSubscriptionStateHeader & | SubscriptionState() |
Inherited Attributes | |
---|---|
CSIPDialogAssocBase::iImplementation |
Class for managing SIP NOTIFY dialog associations. It provides services for creating, using and terminating SIP NOTIFY dialog associations. The user can have multiple NOTIFY dialog associations per same SIP dialog. Implementation handles SUBSCRIBE on the dialog level defined by Call-Id, local and remote tags; user is responsible for "Event" and "Subscription-State" header semantics.
CSIPClientTransaction * | DoSendNotifyWithinDialogL | ( | CSIPMessageElements * | aElements | ) |
IMPORT_C const CSIPEventHeader & | Event | ( | ) | const |
Gets an event about which the notification is done
Returns: an event
IMPORT_C CSIPNotifyDialogAssoc * | NewL | ( | CSIPServerTransaction & | aTransaction, |
CSIPEventHeader * | aEvent, | |||
CSIPSubscriptionStateHeader * | aState | |||
) | [static] |
aTransaction.Type() == SipStrConsts::ESubscribe || SipStrConsts::ERefer aEvent != 0 && aState != 0
Parameter | Description |
---|---|
aTransaction | a SIP server transaction |
aEvent | an event to send a notification about; the ownership is transferred. |
aState | a subscription state; the ownership is transferred. |
Returns: New object; the ownership is transferred
IMPORT_C CSIPNotifyDialogAssoc * | NewL | ( | CSIPServerTransaction & | aTransaction, |
const MSIPRegistrationContext & | aContext, | |||
CSIPEventHeader * | aEvent, | |||
CSIPSubscriptionStateHeader * | aState | |||
) | [static] |
aTransaction.Type() == SipStrConsts::ESubscribe || SipStrConsts::ERefer aContext.IsContextActive() == ETrue aEvent != 0 && aState != 0
Parameter | Description |
---|---|
aTransaction | a SIP server transaction |
aContext | that will be used for populating the Contact-header of the response to aTransaction |
aEvent | an event to send a notification about; the ownership is transferred. |
aState | a subscription state; the ownership is transferred. |
Returns: New object; the ownership is transferred
IMPORT_C CSIPNotifyDialogAssoc * | NewLC | ( | CSIPServerTransaction & | aTransaction, |
CSIPEventHeader * | aEvent, | |||
CSIPSubscriptionStateHeader * | aState | |||
) | [static] |
aTransaction.Type() == SipStrConsts::ESubscribe || SipStrConsts::ERefer aEvent != 0 && aState != 0
Parameter | Description |
---|---|
aTransaction | a SIP server transaction |
aEvent | an event to send a notification about; the ownership is transferred. |
aState | a subscription state; the ownership is transferred. |
Returns: New object; the ownership is transferred
IMPORT_C CSIPNotifyDialogAssoc * | NewLC | ( | CSIPServerTransaction & | aTransaction, |
const MSIPRegistrationContext & | aContext, | |||
CSIPEventHeader * | aEvent, | |||
CSIPSubscriptionStateHeader * | aState | |||
) | [static] |
aTransaction.Type() == SipStrConsts::ESubscribe || SipStrConsts::ERefer aContext.IsContextActive() == ETrue aEvent != 0 && aState != 0
Parameter | Description |
---|---|
aTransaction | a SIP server transaction |
aContext | that will be used for populating the Contact-header of the response to aTransaction |
aEvent | an event to send a notification about; the ownership is transferred. |
aState | a subscription state; the ownership is transferred. |
Returns: New object; the ownership is transferred
IMPORT_C CSIPClientTransaction * | SendNotifyL | ( | CSIPMessageElements * | aElements = 0 | ) |
Parameter | Description |
---|---|
aElements | optional SIP message headers and body. Ownership is transferred. |
Returns: NOTIFY SIP UAC transaction
IMPORT_C CSIPSubscriptionStateHeader & | SubscriptionState | ( | ) |
Gets subscription state
Returns: subscription state
IMPORT_C const CSIPSubscriptionStateHeader & | SubscriptionState | ( | ) | const |
Gets subscription state
Returns: subscription state