#include <mw/sipprofile.h>
| class CSIPProfile : public CBase |
| Protected Attributes | |
|---|---|
| CSIPConcreteProfile * | iSIPProfile |
| CSIPProfileRegistryBase * | iSIPProfileRegistry |
| Public Member Functions | |
|---|---|
| ~CSIPProfile() | |
| void | ClearConcreteProfile() |
| void | ClearRegistry() |
| CSIPConcreteProfile & | ConcreteProfile() |
| const CSIPConcreteProfile & | ConcreteProfile() |
| TUint32 | ContextId() |
| void | DefaultSNAPL(TUint32 &) |
| IMPORT_C TInt | GetParameter(TUint32, TDesC8 const *&) |
| IMPORT_C TInt | GetParameter(TUint32, TUint32 &) |
| IMPORT_C TInt | GetParameter(TUint32, TBool &) |
| IMPORT_C TInt | GetParameter(TUint32, MDesC8Array const *&) |
| IMPORT_C TInt | GetParameter(TUint32, TUint32, TDesC8 const *&) |
| TBool | IsContextActive() |
| TBool | IsEnabled() |
| TInt | LastRegistrationError() |
| CSIPProfile * | NewL(CSIPProfileRegistry *) |
| CSIPProfile * | NewLC(CSIPProfileRegistry *) |
| void | SetConcreteProfile(CSIPConcreteProfile *) |
| void | SetEnabled(TBool) |
| void | SetRegistry(CSIPProfileRegistryBase *) |
| IMPORT_C const TSIPProfileTypeInfo & | Type() |
| Protected Member Functions | |
|---|---|
| CSIPProfile(CSIPProfileRegistryBase *) | |
| void | ConstructL() |
Class contains profile information of particular SIP service provider. Class provides functions for quering profile parameter values.
| CSIPProfile | ( | CSIPProfileRegistryBase * | aRegistry | ) | [protected] |
Constructor.
| CSIPConcreteProfile & | ConcreteProfile | ( | ) |
Gets concrete profile that holds actual data
Returns: concrete profile holding data
| const CSIPConcreteProfile & | ConcreteProfile | ( | ) | const |
Gets concrete profile that holds actual data
Returns: concrete profile holding data
| void | DefaultSNAPL | ( | TUint32 & | aSnapId | ) | const |
gets the Default SNAP ID from the Connectivity Settings
| IMPORT_C TInt | GetParameter | ( | TUint32 | aParam, |
| MDesC8Array const *& | aVal | |||
| ) | const | |||
Gets profile parameter
| Parameter | Description |
|---|---|
| aParam | a parameter to get |
| aVal | on return will contain parameter value |
Returns: KErrNotFound if parameter was not found, KErrNone otherwise
Gets profile parameter that is defined for a particular SIP server
| Parameter | Description |
|---|---|
| aParam | a parameter to get |
| aVal | on return will contain parameter value |
Returns: KErrNotFound if parameter was not found, KErrNone otherwise
| TBool | IsContextActive | ( | ) | const |
Tests if the registration context can be used for creating SIP messages/dialogs Profile can be used, when CSIPProfileRegistry::IsEnabled() == ETrue and Status() == ERegistered.
Returns: ETrue if can be used, EFalse otherwise
| TInt | LastRegistrationError | ( | ) | const |
Gets last occurred error during registration
Returns: last occurred error code, KErrNone if no error
| CSIPProfile * | NewL | ( | CSIPProfileRegistry * | aSIPRegistry | ) | [static] |
Two-phased constructor.
| Parameter | Description |
|---|---|
| aSIPRegistry | a SIP profile client providing connection to SIP profile server. |
| CSIPProfile * | NewLC | ( | CSIPProfileRegistry * | aSIPRegistry | ) | [static] |
Two-phased constructor.
| Parameter | Description |
|---|---|
| aSIPRegistry | a SIP profile client providing connection to SIP profile server. Constructs an object and adds the pointer to the cleanup stack; |
| void | SetConcreteProfile | ( | CSIPConcreteProfile * | aProfile | ) |
Sets concrete profile that holds actual data
| Parameter | Description |
|---|---|
| aProfile | profile instance containing data |
| void | SetEnabled | ( | TBool | aEnabled | ) |
Sets profiles enabled state
| Parameter | Description |
|---|---|
| aEnabled | ETrue if enabled |
| void | SetRegistry | ( | CSIPProfileRegistryBase * | aRegistry | ) |
sets pointer to registry for profile
| IMPORT_C const TSIPProfileTypeInfo & | Type | ( | ) | const |
Gets profile type information
Returns: profile type information