Location:
sipnotifydialogassoc.h
Link against: sipclient.lib
class CSIPNotifyDialogAssoc : public CSIPDialogAssocBase;
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. sipclient.lib
CBase
- Base class for all classes to be instantiated on the heap
CSIPDialogAssocBase
- Base class for SIP dialog associations
CSIPNotifyDialogAssoc
- Class for managing SIP NOTIFY dialog associations
Defined in CSIPNotifyDialogAssoc
:
Event()
, NewL()
, NewL()
, NewLC()
, NewLC()
, SendNotifyL()
, SubscriptionState()
, SubscriptionState()
, ~CSIPNotifyDialogAssoc()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Inherited from CSIPDialogAssocBase
:
Dialog()
,
IsNonTargetRefreshRequest()
,
SendNonTargetRefreshRequestL()
,
Type()
static IMPORT_C CSIPNotifyDialogAssoc *NewL(CSIPServerTransaction &aTransaction, CSIPEventHeader *aEvent, CSIPSubscriptionStateHeader
*aState);
aTransaction.State()==ETrying || EProceeding
aTransaction.Type() == SipStrConsts::ESubscribe || SipStrConsts::ERefer
aEvent != 0 && aState != 0
Two-phased constructor. The response to the received SIP request will create a SIP NOTIFY dialog association that will be correlated with the SIP dialog in which SIP server transaction was received. If the server transaction was not received within a SIP dialog, a new SIP dialog is created. The server transaction must be either SUBSCRIBE or REFER transaction.
|
|
|
static IMPORT_C CSIPNotifyDialogAssoc *NewLC(CSIPServerTransaction &aTransaction, CSIPEventHeader *aEvent, CSIPSubscriptionStateHeader
*aState);
aTransaction.State()==ETrying || EProceeding
aTransaction.Type() == SipStrConsts::ESubscribe || SipStrConsts::ERefer
aEvent != 0 && aState != 0
Two-phased constructor. The response to the received SIP request will create a SIP NOTIFY dialog association that will be correlated with the SIP dialog in which SIP server transaction was received. If the server transaction was not received within a SIP dialog, a new SIP dialog is created. The server transaction must be either SUBSCRIBE or REFER transaction.
|
|
|
static IMPORT_C CSIPNotifyDialogAssoc *NewL(CSIPServerTransaction &aTransaction, const MSIPRegistrationContext &aContext,
CSIPEventHeader *aEvent, CSIPSubscriptionStateHeader *aState);
aTransaction.State()==ETrying || EProceeding
aTransaction.Type() == SipStrConsts::ESubscribe || SipStrConsts::ERefer
aContext.IsContextActive() == ETrue
aEvent != 0 && aState != 0
Two-phased constructor. The response to the received SIP request will create a SIP NOTIFY dialog association that will be correlated with the SIP dialog in which SIP server transaction was received. If the server transaction was not received within a SIP dialog, a new SIP dialog is created. The server transaction must be either SUBSCRIBE or REFER transaction.
|
|
|
static IMPORT_C CSIPNotifyDialogAssoc *NewLC(CSIPServerTransaction &aTransaction, const MSIPRegistrationContext &aContext,
CSIPEventHeader *aEvent, CSIPSubscriptionStateHeader *aState);
aTransaction.State()==ETrying || EProceeding
aTransaction.Type() == SipStrConsts::ESubscribe || SipStrConsts::ERefer
aContext.IsContextActive() == ETrue
aEvent != 0 && aState != 0
Two-phased constructor. The response to the received SIP request will create a SIP NOTIFY dialog association that will be correlated with the SIP dialog in which SIP server transaction was received. If the server transaction was not received within a SIP dialog, a new SIP dialog is created. The server transaction must be either SUBSCRIBE or REFER transaction.
|
|
|
Capability: | NetworkServices |
IMPORT_C CSIPClientTransaction *SendNotifyL(CSIPMessageElements *aElements=0);
Dialog()
.Connection().State()==EActive
Dialog()
.State()==CSIPDialog::TState::EConfirmed
Creates NOTIFY and sends it to the remote target. If client provides optional SIP headers they must not contain Event and Subscription-State headers.
|
|
|
IMPORT_C const CSIPEventHeader &Event() const;
Gets an event about which the notification is done
|
IMPORT_C CSIPSubscriptionStateHeader &SubscriptionState();
Gets subscription state
|
IMPORT_C const CSIPSubscriptionStateHeader &SubscriptionState() const;
Gets subscription state
|