CEapType Class Reference

class CEapType : public CBase

The base interface class for EAP plug-in access. Includes methods to create either the configuration interface or the EAP protocol interface.

Inherits from

Constructor & Destructor Documentation

~CEapType()

~CEapType()[inline, virtual]

Unloads the implementation DLL.

Member Functions Documentation

CopySettingsL(const TIndexType, const TInt)

voidCopySettingsL(const TIndexTypeaDestinationIndexType,
const TIntaDestinationIndex
)[pure virtual]

Copies the EAP types configuration

Parameters

const TIndexType aDestinationIndexTypeindex type of the destination, ELan for WLAN.
const TInt aDestinationIndexID to where copy the settings.

DeleteConfigurationL()

voidDeleteConfigurationL()[pure virtual]

Deletes EAP type configuration

GetConfigurationL(EAPSettings &)

voidGetConfigurationL(EAPSettings &aSettings)[pure virtual]

Gets the EAP types configuration

Parameters

EAPSettings & aSettingsStructure containing the settings

GetInfoLC()

CEapTypeInfo *GetInfoLC()[pure virtual]

Gets information about EAP type.

GetInterfaceVersion()

TUint GetInterfaceVersion()[pure virtual]

Returns the version of the interface that the EAP type implements. The client-side of the interface must always check the version with this function and not call the functions that are not implemented. New functions must be added to the end of the interface so that the order of the old functions does not change.

GetStackInterfaceL(abs_eap_am_tools_c *const, abs_eap_base_type_c *const, const bool, const eap_am_network_id_c *const, abs_eap_configuration_if_c *const)

eap_base_type_c *GetStackInterfaceL(abs_eap_am_tools_c *const aTools,
abs_eap_base_type_c *const aPartner,
const boolis_client_when_true,
const eap_am_network_id_c *const receive_network_id,
abs_eap_configuration_if_c *const configuration_if
)[pure virtual]

Creates EAP protocol interface implementation. Instances an object that has been derived from eap_base_type_c that handles the communication with EAP stack.

Parameters

abs_eap_am_tools_c *const aToolsPointer to tools class.
abs_eap_base_type_c *const aPartnerUsed for callbacks to the stack.
const bool is_client_when_trueSpecifies whether the EAP type acts as a client or server.
const eap_am_network_id_c *const receive_network_idNetwork addresses
abs_eap_configuration_if_c *const configuration_if

InvokeUiL()

TInt InvokeUiL()[pure virtual]

Invokes the configuration UI. Displays a dialog for configuring the EAP type settings.

IsDisallowedInsidePEAP(const CImplementationInformation &)

TBool IsDisallowedInsidePEAP(const CImplementationInformation &aImplInfo)[static, inline]

Parses the opaque_data field in CImplementationInformation and returns true if string NOT_INSIDE_PEAP is found.

Parameters

const CImplementationInformation & aImplInfoImplementation info returned by ListImplementations call

IsDisallowedInsideTTLS(const CImplementationInformation &)

TBool IsDisallowedInsideTTLS(const CImplementationInformation &aImplInfo)[static, inline]

Parses the opaque_data field in CImplementationInformation and returns true if string NOT_INSIDE_TTLS is found.

Parameters

const CImplementationInformation & aImplInfoImplementation info returned by ListImplementations call

IsDisallowedOutsidePEAP(const CImplementationInformation &)

TBool IsDisallowedOutsidePEAP(const CImplementationInformation &aImplInfo)[static, inline]

Parses the opaque_data field in CImplementationInformation and returns true if string NOT_OUTSIDE_PEAP is found.

Parameters

const CImplementationInformation & aImplInfoImplementation info returned by ListImplementations call

NewL(const TDesC8 &, TIndexType, TInt)

CEapType *NewL(const TDesC8 &aCue,
TIndexTypeaIndexType,
TIntaIndex
)[static, inline]

Factory function that loads the EAP type implementation DLL (plug-in). Uses ECom architecture to load the correct EAP type DLL. Calls the initialization function of the EAP type

Parameters

const TDesC8 & aCueEAP type id that specifies which plugin is loaded.
TIndexType aIndexTypeIndicates the bearer used for this connection.
TInt aIndexIndex for the connection. aIndexType and aIndex uniquely specify the connection.

SetConfigurationL(const EAPSettings &)

voidSetConfigurationL(const EAPSettings &aSettings)[pure virtual]

Sets the EAP types configuration

Parameters

const EAPSettings & aSettingsStructure containing the settings

SetIndexL(const TIndexType, const TInt)

voidSetIndexL(const TIndexTypeaIndexType,
const TIntaIndex
)[pure virtual]

Changes the index of the saved parameters.

Parameters

const TIndexType aIndexTypeIndicates the bearer used for this connection.
const TInt aIndexIndex for the connection. aIndexType and aIndex uniquely specify the connection.

SetTunnelingType(const TInt)

voidSetTunnelingType(const TIntaTunnelingType)[pure virtual]

Sets the tunneling type. This is used to indicate that this type is run inside another EAP type.

Parameters

const TInt aTunnelingTypeType number for the tunneling type

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key[private]