#include <mw/sip.h>
Link against: sipclient.lib
class CSIP : public CBase |
Public Member Functions | |
---|---|
~CSIP() | |
IMPORT_C CSIPConnection * | Connection(TUint32) |
CSIPImplementation & | Implementation() |
IMPORT_C TBool | IsSecurityHandlingEnabled() |
IMPORT_C TBool | IsSigCompSupportedL() |
IMPORT_C HBufC8 * | NegotiatedSecurityMechanismL(const TDesC8 &) |
IMPORT_C CSIP * | NewL(const TUid &, MSIPObserver &) |
IMPORT_C CSIP * | NewLC(const TUid &, MSIPObserver &) |
IMPORT_C void | SetSecurityHandlingL(TBool) |
IMPORT_C CDesC8Array * | SupportedSecurityMechanismsL() |
Class for connecting to SIP server.
This class provides the connection to the SIP server and provides functions for quering supported SIP security mechanisms and the support of signalling compression (SigComp).
Note that the implementation uses strings defined in the SIP Codec string pool. During instantiation the class will open SIP codec string pool for getting static strings and getting and setting dynamic strings.
The user can create only one instance of this class. (a singleton class).
IMPORT_C CSIPConnection * | Connection | ( | TUint32 | aIapId | ) | const |
Checks if the user has a connection created for given IAP-id
Parameters | |
---|---|
aIapId | IAP-id |
CSIPImplementation & | Implementation | ( | ) |
Returns the CSIPImplementation.
IMPORT_C TBool | IsSecurityHandlingEnabled | ( | ) | const |
IMPORT_C TBool | IsSigCompSupportedL | ( | ) | const |
Checks if the signalling compression (SigComp) is supported. Leaves on failure with a system wide error code.
Gets negotiated security mechanism with the next hop on the signaling path.
Parameters | |
---|---|
aHop | the next hop's FQDN or numeric IP address |
IMPORT_C CSIP * | NewL | ( | const TUid & | aUid, |
MSIPObserver & | aObserver | |||
) | [static] |
Parameters | |
---|---|
aUid | an unique id that identifies client |
aObserver | a observer for asynchronous event |
Capability | |
---|---|
WriteDeviceData |
IMPORT_C CSIP * | NewLC | ( | const TUid & | aUid, |
MSIPObserver & | aObserver | |||
) | [static] |
Parameters | |
---|---|
aUid | an unique id that identifies client |
aObserver | a observer for asynchronous event |
Capability | |
---|---|
WriteDeviceData |
IMPORT_C void | SetSecurityHandlingL | ( | TBool | aEnabled | ) |
IMPORT_C CDesC8Array * | SupportedSecurityMechanismsL | ( | ) | const |
Gets all supported security mechanisms