CSIPManagedProfile Class Reference

#include <mw/sipmanagedprofile.h>

Link against: sipprofilecli.lib

class CSIPManagedProfile : public CSIPProfile

Inherits from

Public Member Functions
~CSIPManagedProfile()
IMPORT_C CSIPManagedProfile *CloneL()
CSIPManagedProfile *NewL(CSIPManagedProfileRegistry *)
CSIPManagedProfile *NewLC(CSIPManagedProfileRegistry *)
IMPORT_C TIntSetParameter(TUint32, const TDesC8 &)
IMPORT_C TIntSetParameter(TUint32, TUint32)
IMPORT_C TIntSetParameter(TUint32, TBool)
IMPORT_C TIntSetParameter(TUint32, const MDesC8Array &)
IMPORT_C TIntSetParameter(TUint32, TUint32, const TDesC8 &)
IMPORT_C voidSetType(const TSIPProfileTypeInfo &)
Inherited Attributes
CSIPProfile::iSIPProfile
CSIPProfile::iSIPProfileRegistry
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CSIPProfile::CSIPProfile(CSIPProfileRegistryBase *)
CSIPProfile::ClearConcreteProfile()
CSIPProfile::ClearRegistry()
CSIPProfile::ConcreteProfile()
CSIPProfile::ConcreteProfile()const
CSIPProfile::ConstructL()
CSIPProfile::ContextId()const
CSIPProfile::DefaultSNAPL(TUint32 &)const
CSIPProfile::GetParameter(TUint32,MDesC8Array const *&)const
CSIPProfile::GetParameter(TUint32,TBool &)const
CSIPProfile::GetParameter(TUint32,TDesC8 const *&)const
CSIPProfile::GetParameter(TUint32,TUint32 &)const
CSIPProfile::GetParameter(TUint32,TUint32,TDesC8 const *&)const
CSIPProfile::IsContextActive()const
CSIPProfile::IsEnabled()const
CSIPProfile::LastRegistrationError()const
CSIPProfile::NewL(CSIPProfileRegistry *)
CSIPProfile::NewLC(CSIPProfileRegistry *)
CSIPProfile::SetConcreteProfile(CSIPConcreteProfile *)
CSIPProfile::SetEnabled(TBool)
CSIPProfile::SetRegistry(CSIPProfileRegistryBase *)
CSIPProfile::Type()const
CSIPProfile::~CSIPProfile()

Detailed Description

Class contains profile information of particular SIP service provider. Class provides functions for setting and getting profile parameters.

Constructor & Destructor Documentation

~CSIPManagedProfile ( )

IMPORT_C~CSIPManagedProfile()

Destructor.

Member Function Documentation

CloneL ( )

IMPORT_C CSIPManagedProfile *CloneL()const
Creates deep copy of the object
leave
KErrNoMemory if out of memory

Returns: deep copied instance

NewL ( CSIPManagedProfileRegistry * )

CSIPManagedProfile *NewL(CSIPManagedProfileRegistry *aSIPRegistry)[static]

Two-phased constructor.

ParameterDescription
aSIPRegistrya SIP profile client providing connection to SIP profile server.

NewLC ( CSIPManagedProfileRegistry * )

CSIPManagedProfile *NewLC(CSIPManagedProfileRegistry *aSIPRegistry)[static]

Two-phased constructor.

ParameterDescription
aSIPRegistrya SIP profile client providing connection to SIP profile server. Constructs an object and adds the pointer to the cleanup stack;

SetParameter ( TUint32, const TDesC8 & )

IMPORT_C TIntSetParameter(TUint32aParam,
const TDesC8 &aVal
)

Sets profile parameter

ParameterDescription
aParama parameter to set; zero-length descriptor resets the value
aVala value to set

Returns: KErrNotFound if parameter was not found, KErrNoMemory if out of memory; KErrNone otherwise

SetParameter ( TUint32, TUint32 )

IMPORT_C TIntSetParameter(TUint32aParam,
TUint32aVal
)

Sets profile parameter

ParameterDescription
aParama parameter to set
aVala value to set

Returns: KErrNotFound if parameter was not found, KErrNone otherwise

SetParameter ( TUint32, TBool )

IMPORT_C TIntSetParameter(TUint32aParam,
TBoolaVal
)

Sets profile parameter

ParameterDescription
aParama parameter to set
aVala value to set

Returns: KErrNotFound if parameter was not found, KErrNone otherwise

SetParameter ( TUint32, const MDesC8Array & )

IMPORT_C TIntSetParameter(TUint32aParam,
const MDesC8Array &aVal
)

Sets profile parameter

ParameterDescription
aParama parameter to set
aValvalues to set; an empty array resets the value

Returns: KErrNotFound if parameter was not found, KErrNoMemory if out of memory KErrNone otherwise

SetParameter ( TUint32, TUint32, const TDesC8 & )

IMPORT_C TIntSetParameter(TUint32aServerType,
TUint32aParam,
const TDesC8 &aVal
)

Sets profile parameter that is defined for a particular SIP server

ParameterDescription
aServerTypea SIP server type
aParama parameter to set
aVala value to set; zero-length descriptor resets the value

Returns: KErrNotFound if parameter was not found, KErrNoMemory if out of memory; KErrNone otherwise

SetType ( const TSIPProfileTypeInfo & )

IMPORT_C voidSetType(const TSIPProfileTypeInfo &aSIPProfileTypeInfo)

Sets profile type information;

ParameterDescription
aSIPProfileTypeInfoprofile type information