#include <mw/sipprofile.h>
Link against: sipprofilecli.lib
class CSIPProfile : public CBase, public MSIPRegistrationContext |
Protected Attributes | |
---|---|
CSIPConcreteProfile * | iSIPProfile |
CSIPProfileRegistryBase * | iSIPProfileRegistry |
Public Member Functions | |
---|---|
~CSIPProfile() | |
void | ClearConcreteProfile() |
void | ClearRegistry() |
CSIPConcreteProfile & | ConcreteProfile() |
const CSIPConcreteProfile & | ConcreteProfile() |
virtual 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 *&) |
virtual 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.
CSIPConcreteProfile * | iSIPProfile | [protected] |
CSIPProfileRegistryBase * | iSIPProfileRegistry | [protected] |
CSIPConcreteProfile & | ConcreteProfile | ( | ) |
Gets concrete profile that holds actual data
const CSIPConcreteProfile & | ConcreteProfile | ( | ) | const |
Gets concrete profile that holds actual data
TUint32 | ContextId | ( | ) | const [virtual] |
Reimplemented from MSIPRegistrationContext::ContextId()const
For internal use only
IMPORT_C TInt | GetParameter | ( | TUint32 | aParam, |
MDesC8Array const *& | aVal | |||
) | const |
Gets profile parameter
Parameters | |
---|---|
aParam | a parameter to get |
aVal | on return will contain parameter value |
Gets profile parameter that is defined for a particular SIP server
Parameters | |
---|---|
aParam | a parameter to get |
aVal | on return will contain parameter value |
TBool | IsContextActive | ( | ) | const [virtual] |
Reimplemented from MSIPRegistrationContext::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.
TBool | IsEnabled | ( | ) | const |
Checks if the profile is enabled
TInt | LastRegistrationError | ( | ) | const |
Gets last occurred error during registration
CSIPProfile * | NewL | ( | CSIPProfileRegistry * | aSIPRegistry | ) | [static] |
Two-phased constructor.
Parameters | |
---|---|
aSIPRegistry | a SIP profile client providing connection to SIP profile server. |
CSIPProfile * | NewLC | ( | CSIPProfileRegistry * | aSIPRegistry | ) | [static] |
Two-phased constructor.
Parameters | |
---|---|
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
Parameters | |
---|---|
aProfile | profile instance containing data |
IMPORT_C const TSIPProfileTypeInfo & | Type | ( | ) | const |
Gets profile type information