CSIPImplementation Class Reference
class CSIPImplementation : public CBase
|
Implementation class for connecting to SIP server.
Public Member Functions
|
|
~CSIPImplementation
()
|
void
|
AddConnectionL
(
CSIPConnectionImplementation
&,
TUint32
)
|
void
|
AddDigestL
(
CSIPHttpDigest
&)
|
void
|
AddTransactionL
(
CSIPTransactionBase
&)
|
void
|
ChallengeReceivedInRefreshL
(
TUint32
,
TUint32
,
CSIPResponseElements
*,
MSIPHttpDigestChallengeObserver2
&)
|
void
|
ChallengeReceivedL
(
TUint32
,
CSIPResponseElements
*,
MSIPHttpDigestChallengeObserver2
&)
|
CSIPClientConnection
*
|
ClientConnection
()
|
CSIPClientConnection
&
|
ClientConnectionL
()
|
CSIPConnection
*
|
Connection
(
TUint32
)
|
CSIPClientTransaction
*
|
CreateTransactionL
(
TUint32
,
CSIPResponseElements
*,
CSIPRefresh
*)
|
void
|
IgnoreChallenges
(const
CSIPClientTransaction
&,
CSIPHttpDigest
&)
|
void
|
IncomingRequestL
(
TUint32
,
CSIPRequestElements
*,
TUint32
)
|
CDialogState
*
|
InitialDialogState
()
|
CRegistrationState
*
|
InitialRegisterState
()
|
TBool
|
IsSecurityHandlingEnabled
()
|
TBool
|
IsSigCompSupportedL
()
|
HBufC8
*
|
NegotiatedSecurityMechanismL
(const
TDesC8
&)
|
CSIPImplementation
*
|
NewL
(const
TUid
&,
MSIPObserver
&)
|
void
|
RemoveConnection
(const
CSIPConnection
&)
|
void
|
RemoveDigest
(const
CSIPHttpDigest
&)
|
void
|
RemoveTransaction
(const
CSIPTransactionBase
&)
|
CSIPClient
&
|
SIPClient
()
|
CSIPConnection
&
|
SIPConnectionL
()
|
void
|
SetSecurityHandlingL
(
TBool
)
|
CDesC8Array
*
|
SupportedSecurityMechanismsL
()
|
void
|
TimeOut
(
TUint32
)
|
Constructor & Destructor Documentation
CSIPImplementation(MSIPObserver &)
Member Functions Documentation
AddConnectionL(CSIPConnectionImplementation &, TUint32)
AddDigestL(CSIPHttpDigest &)
AddTransactionL(CSIPTransactionBase &)
ChallengeReceivedInRefreshL(TUint32, TUint32, CSIPResponseElements *, MSIPHttpDigestChallengeObserver2 &)
ChallengeReceivedL(TUint32, CSIPResponseElements *, MSIPHttpDigestChallengeObserver2 &)
Connection(TUint32)
Checks if the user has a connection created for given IAP-id
ConstructL(const TUid &)
void
|
ConstructL
|
(
|
const
TUid
&
|
aUid
|
)
|
[private]
|
CreateTransactionL(TUint32, CSIPResponseElements *, CSIPRefresh *)
IgnoreChallenges(const CSIPClientTransaction &, CSIPHttpDigest &)
Ignore each challenge present in the response in the transaction.
IncomingRequestL(TUint32, CSIPRequestElements *, TUint32)
Request has been received from network.
Parameters
TUint32
aIapId
|
IAP-id for which the user should create a CSIPConnection
|
CSIPRequestElements
* aElements
|
Some SIP headers of the received request. Ownership is transferred.
|
TUint32
aRequestId
|
RequestId associated with the received request
|
InitialRegisterState()
Obtains the initial state for CSIPRegistrations
IsSecurityHandlingEnabled()
TBool
|
IsSecurityHandlingEnabled
|
(
|
)
|
const
|
IsSigCompSupportedL()
TBool
|
IsSigCompSupportedL
|
(
|
)
|
const
|
Checks if the signalling compression (SigComp) is supported. Leaves on failure with a system wide error code.
NegotiatedSecurityMechanismL(const TDesC8 &)
HBufC8
*
|
NegotiatedSecurityMechanismL
|
(
|
const
TDesC8
&
|
aHop
|
)
|
const
|
Gets negotiated security mechanism with the next hop on the signaling path.
Parameters
const
TDesC8
& aHop
|
the next hop's FQDN or numeric IP address
|
NewL(const TUid &, MSIPObserver &)
Parameters
const
TUid
& aUid
|
an unique id that identifies client
|
MSIPObserver
& aObserver
|
a observer for asynchronous event
|
RemoveConnection(const CSIPConnection &)
RemoveDigest(const CSIPHttpDigest &)
RemoveTransaction(const CSIPTransactionBase &)
SetSecurityHandlingL(TBool)
void
|
SetSecurityHandlingL
|
(
|
TBool
|
aEnabled
|
)
|
|
SupportedSecurityMechanismsL()
Gets all supported security mechanisms
TimeOut(TUint32)
void
|
TimeOut
|
(
|
TUint32
|
aRequestId
|
)
|
|
The transcation related to the received SIP request timed out and it has been destroyed. This happens if the user fails to create a SIP connection and does not send an appropriate SIP response.
Parameters
TUint32
aRequestId
|
RequestId of the request
|
UNIT_TEST(CSIP_Test)
UNIT_TEST
|
(
|
CSIP_Test
|
|
)
|
const [private]
|
Member Data Documentation
RPointerArray< CSIPConnection > iConnections
CDialogConfirmed * iDialogConfirmed
CDialogEarly * iDialogEarly
CDialogTerminated * iDialogTerminated
CDialogTrying * iDialogTrying
RPointerArray< CSIPHttpDigest > iDigests
RPointerArray< CPendingTransaction > iPendingServerTransactions
CRegistered * iRegistered
CRegistering * iRegistering
TBool
iSecurityHandlingEnabled
TBool
|
iSecurityHandlingEnabled
|
[private]
|
CUnregistered * iUnregistered
CUnregistering * iUnregistering
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.