CSIPDialogAssocBase Class Reference
class CSIPDialogAssocBase : public CBase
|
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. sipclient
Constructor & Destructor Documentation
CSIPDialogAssocBase()
CSIPDialogAssocBase
|
(
|
)
|
[protected]
|
~CSIPDialogAssocBase()
~CSIPDialogAssocBase
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL(RStringF, CSIPDialog &)
ConstructL(RStringF, CSIPDialog &, CSIPServerTransaction &)
DeletingRefresh(CSIPRefresh &, TUint32)
Dialog()
Gets the dialog this dialog association belongs to
Dialog()
Gets dialog this dialog association belongs to
FindRefresh(TUint32)
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.
Implementation()
Returns the implementation instance.
IsNonTargetRefreshRequest(RStringF)
IMPORT_C
TBool
|
IsNonTargetRefreshRequest
|
(
|
RStringF
|
aMethod
|
)
|
const
|
Tests if the request is a non target refresh request
SendNonTargetRefreshRequestL(RStringF, CSIPMessageElements *)
Creates SIP request and sends it to the remote target. This function should be used for sending SIP extension requests within dialog assocation that do not cause sip dialog associations to be created. In SIP terms this request is non target refresh request.
-
Pre-condition
-
SIPDialog().State() !=
CSIPDialog::EInit
&& SIPDialog().State() !=
CSIPDialog::ETerminated
-
Dialog()
.Connection().State() == EActive
-
aMethod != "REGISTER" |"INVITE" | "BYE" | "CANCEL" | "ACK" | "SUBSCRIBE" | "NOTIFY" | "UPDATE" | "PRACK" | "REFER"
-
leave
-
KErrSIPInvalidDialogState If dialog's state is not correct
-
leave
-
KErrArgument if invalid value has been set to aMethod
-
leave
-
KErrSIPResourceNotAvailable if a required SIP Client API object has been deleted
-
capability
-
NetworkServices
Type()
Gets dialog association type.
__DbgTestInvariant()
void
|
__DbgTestInvariant
|
(
|
)
|
const [private]
|
Member Data Documentation
CSIPDialogAssocImplementation * iImplementation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.