Location:
sipreferdialogassoc.h
Link against: sipclient.lib
class CSIPReferDialogAssoc : public CSIPDialogAssocBase;
Class for managing SIP REFER dialog associations. It provides services for creating, using and terminating SIP REFER dialog
associations. User
can have multiple REFER 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 "Refer-to" header semantics. sipclient.lib
CBase
- Base class for all classes to be instantiated on the heap
CSIPDialogAssocBase
- Base class for SIP dialog associations
CSIPReferDialogAssoc
- Class for managing SIP REFER dialog associations
Defined in CSIPReferDialogAssoc
:
NewL()
, NewL()
, NewL()
, NewLC()
, NewLC()
, NewLC()
, ReferTo()
, SendReferL()
, ~CSIPReferDialogAssoc()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Inherited from CSIPDialogAssocBase
:
Dialog()
,
IsNonTargetRefreshRequest()
,
SendNonTargetRefreshRequestL()
,
Type()
static IMPORT_C CSIPReferDialogAssoc *NewL(CSIPDialog &aDialog, CSIPReferToHeader *aReferTo);
aReferTo != 0
Two-phased constructor. Should be used if response to the SIP request to be sent will create a SIP dialog association.
|
|
|
static IMPORT_C CSIPReferDialogAssoc *NewLC(CSIPDialog &aDialog, CSIPReferToHeader *aReferTo);
aReferTo != 0
Two-phased constructor. Must be used if response to the SIP request to be sent will create a SIP dialog association.
|
|
|
static IMPORT_C CSIPReferDialogAssoc *NewL(CSIPConnection &aConnection, CSIPFromHeader *aFrom, CUri8 *aRemoteUri, CSIPReferToHeader
*aReferTo, CSIPToHeader *aTo=0, CSIPContactHeader *aContact=0);
aFrom != 0
aReferTo != 0
aRemoteUri != 0 The user of the class must not define tags in From-header and To-header.
Two-phased constructor
|
|
|
static IMPORT_C CSIPReferDialogAssoc *NewLC(CSIPConnection &aConnection, CSIPFromHeader *aFrom, CUri8 *aRemoteUri, CSIPReferToHeader
*aReferTo, CSIPToHeader *aTo=0, CSIPContactHeader *aContact=0);
aFrom != 0
aReferTo != 0
aRemoteUri != 0 The user of the class must not define tags in From-header and To-header.
Two-phased constructor
|
|
|
static IMPORT_C CSIPReferDialogAssoc *NewL(CSIPConnection &aConnection, CUri8 *aRemoteUri, const MSIPRegistrationContext &aContext,
CSIPReferToHeader *aReferTo, CSIPFromHeader *aFrom=0, CSIPToHeader *aTo=0, CSIPContactHeader *aContact=0);
aReferTo != 0
aRemoteUri != 0 The user of the class must not define tags in From-header and To-header.
aContext.IsContextActive() == ETrue
Two-phased constructor
|
|
|
static IMPORT_C CSIPReferDialogAssoc *NewLC(CSIPConnection &aConnection, CUri8 *aRemoteUri, const MSIPRegistrationContext
&aContext, CSIPReferToHeader *aReferTo, CSIPFromHeader *aFrom=0, CSIPToHeader *aTo=0, CSIPContactHeader *aContact=0);
aReferTo != 0
aRemoteUri != 0 The user of the class must not define tags in From-header and To-header.
aContext.IsContextActive()==ETrue
Two-phased constructor
|
|
|
Capability: | NetworkServices |
IMPORT_C CSIPClientTransaction *SendReferL(CSIPMessageElements *aElements=0);
Dialog()
.Connection().State()==EActive
Dialog()
.State()==CSIPDialogEInit
|| Dialog()
.State()==CSIPDialog::EConfirmed
Creates REFER and sends it to the remote target. leaves on failure. 101-199 or 2xx response will create REFER dialog association in case of first REFER request within this dialog association.
|
|
|
IMPORT_C const CSIPReferToHeader &ReferTo() const;
Gets referred-to resouce
|