CSIPDialogAssocImplementation Class Reference
class CSIPDialogAssocImplementation : public CBase
|
Inherits from
-
CSIPDialogAssocImplementation
Public Member Functions
|
|
~CSIPDialogAssocImplementation
()
|
void
|
AddTransactionL
(
CSIPTransactionBase
&)
|
TInt
|
CheckIfStandAlone
()
|
CSIPClientConnection
*
|
ClientConnection
()
|
CSIPClientConnection
&
|
ClientConnectionL
()
|
void
|
ConnectionLost
()
|
void
|
CopyHeaderL
(const
CSIPHeaderBase
&,
CSIPMessageElements
&,
TMessageHeaderCleanup
&)
|
void
|
DeletingRefresh
(
CSIPRefresh
&,
TUint32
)
|
const
CSIPDialog
&
|
Dialog
()
|
CSIPDialog
&
|
Dialog
()
|
CSIPTransactionBase
*
|
FindTransaction
(
TUint32
)
|
TBool
|
HasTransaction
(
RStringF
,
TBool
)
|
CSIPDialogAssocImplementation
*
|
NewL
(
RStringF
,
CSIPDialogAssocBase
&,
CSIPDialog
&)
|
CSIPDialogAssocImplementation
*
|
NewL
(
RStringF
,
CSIPDialogAssocBase
&,
CSIPDialog
&,
CSIPServerTransaction
&)
|
void
|
RemoveTransaction
(const
CSIPTransactionBase
&)
|
CSIPConnection
&
|
SIPConnectionL
()
|
CSIPClientTransaction
*
|
SendNonTargetRefreshRequestL
(
RStringF
,
CSIPMessageElements
*)
|
MTransactionAssociation
&
|
TransactionAssociation
()
|
RStringF
|
Type
()
|
CSIPClientTransaction
*
|
UpdateRefreshL
(
CSIPRefresh
&,
CSIPMessageElements
*,
TBool
)
|
Constructor & Destructor Documentation
CSIPDialogAssocImplementation(CSIPDialogAssocBase &, CSIPDialog &)
~CSIPDialogAssocImplementation()
~CSIPDialogAssocImplementation
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddTransactionL(CSIPTransactionBase &)
CheckIfStandAlone()
TInt
|
CheckIfStandAlone
|
(
|
)
|
|
ConnectionLost()
void
|
ConnectionLost
|
(
|
)
|
[virtual]
|
The connection used by dialog association has been lost. Those classes derived from
CSIPDialogAssocImplementation
, which can contain refreshes must implement this function for terminating the refresh.
ConstructL(RStringF)
void
|
ConstructL
|
(
|
RStringF
|
aType
|
)
|
[protected]
|
ConstructL(RStringF, CSIPServerTransaction &)
CopyHeaderL(const CSIPHeaderBase &, CSIPMessageElements &, TMessageHeaderCleanup &)
Makes a copy of aHeader and adds it into aElements and also into headerCleanup.
DeletingRefresh(CSIPRefresh &, TUint32)
Dialog()
Gets the dialog this dialog association belongs to
Dialog()
Gets dialog this dialog association belongs to
FindTransaction(TUint32)
Searches for a transaction with the given aRequestId.
Parameters
TUint32
aRequestId
|
RequestId of a transaction
|
HasTransaction(RStringF, TBool)
Checks if this dialog association has a transaction of the given type.
Parameters
RStringF
aType
|
Transaction type
|
TBool
aIsClientTransaction
|
ETrue if searching for a client transaction, EFalse if searching for a server transaction
|
NewL(RStringF, CSIPDialogAssocBase &, CSIPDialog &)
NewL(RStringF, CSIPDialogAssocBase &, CSIPDialog &, CSIPServerTransaction &)
RemoveTransaction(const CSIPTransactionBase &)
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"
-
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
Type()
Gets dialog association type.
UpdateRefreshL(CSIPRefresh &, CSIPMessageElements *, TBool)
Member Data Documentation
CSIPDialogAssocBase & iAssoc
TBool
iStringPoolOpened
TBool
|
iStringPoolOpened
|
[private]
|
RPointerArray< CSIPTransactionBase > iTransactions
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.