CSenProviderPolicy Class Reference

class CSenProviderPolicy : public CSenPolicy

Example structure of ProviderPolicy XML fragment:

<ProviderPolicy>

<Transport> <IapId> 1234567890 </IapId> </Transport>

<IdentityProviderIDs strict="true"> <IdentityProviderID> urn:first.id.example.com </IdentityProviderID> <IdentityProviderID> urn:second.id.example.com </IdentityProviderID> </IdentityProviderIDs>

</ProviderPolicy>

Public Member Functions
~CSenProviderPolicy()
IMPORT_C TBoolAccepts(MSenProviderPolicy &)
IMPORT_C CSenProviderPolicy *NewL()
IMPORT_C CSenProviderPolicy *NewL(TUint32)
IMPORT_C CSenProviderPolicy *NewL(TUint32, TBool)
IMPORT_C CSenProviderPolicy *NewLC()
IMPORT_C CSenProviderPolicy *NewLC(TUint32)
IMPORT_C CSenProviderPolicy *NewLC(TUint32, TBool)
IMPORT_C TIntRebuildFrom(MSenProviderPolicy &)
IMPORT_C TIntSetTransportPropertiesL(const TDesC8 &)
IMPORT_C TIntTransportPropertiesL(HBufC8 *&)
Private Member Functions
CSenProviderPolicy()
TBool AcceptsL(MSenProviderPolicy &)
IMPORT_C voidBaseConstructL()
IMPORT_C voidBaseConstructL(TUint32)
IMPORT_C voidBaseConstructL(TUint32, TBool)
TInt RebuildFromL(MSenProviderPolicy &)
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()
CSenBaseFragment::AllocContentSaverL()
CSenBaseFragment::AsElement()
CSenBaseFragment::AsXmlL()
CSenBaseFragment::AsXmlUnicodeL()
CSenBaseFragment::BuildFrom(const TDesC8 &)
CSenBaseFragment::CSenBaseFragment()
CSenBaseFragment::ConsistsOfL(MSenFragment &)
CSenBaseFragment::Content()
CSenBaseFragment::ContentOf(const TDesC8 &)
CSenBaseFragment::DelegateParsingL(MSenFragment &)
CSenBaseFragment::DelegateParsingL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)
CSenBaseFragment::DetachL()
CSenBaseFragment::EndElementL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenBaseFragment::EnsureNamespace(const TDesC8 &)
CSenBaseFragment::ExtractElement()
CSenBaseFragment::LocalName()const
CSenBaseFragment::Namespace(const TDesC8 &)
CSenBaseFragment::NsPrefix()const
CSenBaseFragment::NsUri()const
CSenBaseFragment::ParseL(const TDesC8 &)
CSenBaseFragment::Reader()
CSenBaseFragment::ResetContentL()
CSenBaseFragment::SaveNamespacesL(const RAttributeArray &,TBool)
CSenBaseFragment::SetContentOfL(const TDesC8 &,const TDesC8 &)
CSenBaseFragment::SetOwner(MSenFragment &)
CSenBaseFragment::SetReader(CSenXmlReader &)
CSenBaseFragment::StartEntity(TDesC8 &)
CSenBaseFragment::WriteAsXMLToL(RWriteStream &)
CSenBaseFragment::~CSenBaseFragment()
CSenDomFragment::BaseConstructL(CSenXmlReader &)
CSenDomFragment::BaseConstructL(const CSenElement &)
CSenDomFragment::BaseConstructL(const TDesC8 &,const TDesC8 &)
CSenDomFragment::BaseConstructL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenDomFragment::BaseConstructL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)
CSenDomFragment::BaseConstructL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &,CSenElement &)
CSenDomFragment::CSenDomFragment()
CSenDomFragment::CharactersL(const TDesC8 &,TInt,TInt)
CSenDomFragment::ExpandL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)
CSenDomFragment::NewL(const CSenElement &)
CSenDomFragment::NewL(const TDesC8 &)
CSenDomFragment::NewL(const TDesC8 &,const TDesC8 &)
CSenDomFragment::NewL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenDomFragment::NewL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)
CSenDomFragment::NewL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &,CSenElement &)
CSenDomFragment::ParseWithL(CSenXmlReader &)
CSenDomFragment::ResumeParsingFromL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenDomFragment::SetAttributesL(const RAttributeArray &)
CSenDomFragment::StartElementL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)
CSenDomFragment::WriteEndElementL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenDomFragment::WriteStartElementL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)
CSenDomFragment::~CSenDomFragment()
CSenPolicy::Accepts(MSenPolicy &)
CSenPolicy::AddIdentityProviderIdL(const TDesC8 &)
CSenPolicy::BaseConstructL(const TDesC8 &)
CSenPolicy::BaseConstructL(const TDesC8 &,TUint32)
CSenPolicy::BaseConstructL(const TDesC8 &,TUint32,TBool)
CSenPolicy::CSenPolicy()
CSenPolicy::IapId(TUint32 &)
CSenPolicy::IdentityProviderIds8L()
CSenPolicy::RebuildFrom(MSenPolicy &)
CSenPolicy::SetIapIdL(TUint32)
CSenPolicy::SetIdentityProviderIdsL(CSenIdentityProviderIdArray8 &)
CSenPolicy::SetSnapIdL(TUint32)
CSenPolicy::SnapId(TUint32 &)
CSenPolicy::~CSenPolicy()
Inherited Attributes
CSenBaseFragment::iState
CSenBaseFragment::iWs
CSenBaseFragment::iXmlReader
CSenBaseFragment::ipElement
CSenBaseFragment::ipOwner
CSenDomFragment::ipDomDelegate

Constructor & Destructor Documentation

CSenProviderPolicy()

CSenProviderPolicy()[private]

C++ default constructor.

~CSenProviderPolicy()

~CSenProviderPolicy()[virtual]

Member Functions Documentation

Accepts(MSenProviderPolicy &)

IMPORT_C TBoolAccepts(MSenProviderPolicy &aPolicyPattern)[virtual]
Checks if policies match.
Since
Series60 3.0

Parameters

MSenProviderPolicy & aPolicyPatternis the policy being compared with this instance.

AcceptsL(MSenProviderPolicy &)

TBool AcceptsL(MSenProviderPolicy &aPolicyPattern)[private]

Leaving variants of the functions.

Parameters

MSenProviderPolicy & aPolicyPattern

BaseConstructL()

IMPORT_C voidBaseConstructL()[private]

By default Symbian 2nd phase constructors are private.

BaseConstructL(TUint32)

IMPORT_C voidBaseConstructL(TUint32aIapId)[private]

Parameters

TUint32 aIapId

BaseConstructL(TUint32, TBool)

IMPORT_C voidBaseConstructL(TUint32aId,
TBoolaIsSnapId
)[private]

Parameters

TUint32 aId
TBool aIsSnapId

NewL()

IMPORT_C CSenProviderPolicy *NewL()[static]

Two-phased constructors. These parameterless constructors are ment to be used for example before parsing XML stream.

NewL(TUint32)

IMPORT_C CSenProviderPolicy *NewL(TUint32aIapId)[static]

Parameters

TUint32 aIapId

NewL(TUint32, TBool)

IMPORT_C CSenProviderPolicy *NewL(TUint32aId,
TBoolaIsSnapId
)[static]

Parameters

TUint32 aId
TBool aIsSnapId

NewLC()

IMPORT_C CSenProviderPolicy *NewLC()[static]

NewLC(TUint32)

IMPORT_C CSenProviderPolicy *NewLC(TUint32aIapId)[static]

Parameters

TUint32 aIapId

NewLC(TUint32, TBool)

IMPORT_C CSenProviderPolicy *NewLC(TUint32aId,
TBoolaIsSnapId
)[static]

Parameters

TUint32 aId
TBool aIsSnapId

RebuildFrom(MSenProviderPolicy &)

IMPORT_C TIntRebuildFrom(MSenProviderPolicy &aTemplate)[virtual]
Method reads provider policy class instance values from given template. Values may include an IAP ID, preferred IdentityProvider IDs etc.
Since
Series60 3.0

Parameters

MSenProviderPolicy & aTemplatefrom which the values are read.

RebuildFromL(MSenProviderPolicy &)

TInt RebuildFromL(MSenProviderPolicy &aTemplate)[private]

Parameters

MSenProviderPolicy & aTemplate

SetTransportPropertiesL(const TDesC8 &)

IMPORT_C TIntSetTransportPropertiesL(const TDesC8 &aProperties)

Sets transport specific properties.

Parameters

const TDesC8 & aPropertiescontains the transport properties in serialized (UTF-8) form. With HTTP, this descriptor is typically created by utilizing CSenHttpProperties class.

TransportPropertiesL(HBufC8 *&)

IMPORT_C TIntTransportPropertiesL(HBufC8 *&aProperties)

Parameters

HBufC8 *& aProperties