RHssInterface Class Reference

class RHssInterface : public RSessionBase

Inherits from

Public Member Functions
IMPORT_C voidActivateNotificationsL(MHssSrvNotifications &)
IMPORT_C TIntAddIapSsidList(TUint, const CArrayFixFlat< THssSsid > &)
IMPORT_C voidCancel(const TUint)
IMPORT_C TIntCancelLogin()
IMPORT_C voidCancelNotifications()
IMPORT_C TIntCancelStart(const TUint)
voidCancelWaitForNotification()
IMPORT_C TIntChangeSettings(const TUint, const THssIapSettings &)
IMPORT_C TUint32CheckBackgroundScanL()
IMPORT_C voidClose()
IMPORT_C voidCloseConnection(const TUint, TRequestStatus &)
IMPORT_C TIntConnect()
IMPORT_C voidGetClientIapsL(const TUid, RArray< TUint > &)
IMPORT_C TIntGetConnectionBssid(THssBssid &)
IMPORT_C TUint32GetIap(TIpcArgs)
IMPORT_C TIntGetScanResults(HssScanList &)
TUint IapId()
IMPORT_C TIntJoin(const TUint)
IMPORT_C TIntLoginComplete(const TUint, TInt)
IMPORT_C TIntLogoutComplete(const TUint)
IMPORT_C TUintRegister(const TUid, const TDesC &, const TUint)
IMPORT_C TIntSetTimerValues(TUid, TUint, TUint)
IMPORT_C voidSetUiState(const TUint, const TUint)
IMPORT_C TIntShutdownServerL()
IMPORT_C voidStart(const TUint, TRequestStatus &)
IMPORT_C voidStartAgain(const TUint, TRequestStatus &)
IMPORT_C voidStartBrowser(const TDesC &, const TUint, const TUint, TRequestStatus &)
IMPORT_C voidStartLogin(const TUint, const TUint, TRequestStatus &)
IMPORT_C TIntStop(const TUint)
IMPORT_C TIntUnRegister(const TUint, const TUint, const TUid)
TVersion Version()
voidWaitForNotification(TRequestStatus &, TDes8 &)
Protected Member Functions
TInt StartServer()
Private Member Functions
TInt StopConnectionL(const TUint, const TUint)
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Private Attributes
TIpcArgs iArgs
CHssIapHandler *iIapHandler
TUint iIapId
CHssSrvNotifications *iNotify
CHssScanHandler *iScanHandler
Inherited Attributes
RHandleBase::iHandle

Member Functions Documentation

ActivateNotificationsL(MHssSrvNotifications &)

IMPORT_C voidActivateNotificationsL(MHssSrvNotifications &aCallback)

Activate the notification service.

After the client has enabled the notification service, it can receive asynchronous notifications from the server.

Parameters

MHssSrvNotifications & aCallbackThe class that implements the callback interface.

AddIapSsidList(TUint, const CArrayFixFlat< THssSsid > &)

IMPORT_C TIntAddIapSsidList(TUintaIapId,
const CArrayFixFlat< THssSsid > &aSsidList
)

Add an SSID list to the given IAP.

Parameters

TUint aIapId
const CArrayFixFlat< THssSsid > & aSsidList

Cancel(const TUint)

IMPORT_C voidCancel(const TUintaIapId)

Cancel for WLAN agent.

Parameters

const TUint aIapId

CancelLogin()

IMPORT_C TIntCancelLogin()

CancelLogin for DHCP Configuration Daemon.

CancelNotifications()

IMPORT_C voidCancelNotifications()

Cancel the notification service.

CancelStart(const TUint)

IMPORT_C TIntCancelStart(const TUintaIapId)

Cancel start call.

Parameters

const TUint aIapId

CancelWaitForNotification()

voidCancelWaitForNotification()

Cancel pending notification message from server. CHssSrvNotifications class uses this method to cancel pending message at server side.

ChangeSettings(const TUint, const THssIapSettings &)

IMPORT_C TIntChangeSettings(const TUintaIapId,
const THssIapSettings &aSettings
)

Change IAP settings.

Parameters

const TUint aIapId
const THssIapSettings & aSettings

CheckBackgroundScanL()

IMPORT_C TUint32CheckBackgroundScanL()

Check status of BackgroundScan.

Close()

IMPORT_C voidClose()

Close the connection; release the handle to the server.

CloseConnection(const TUint, TRequestStatus &)

IMPORT_C voidCloseConnection(const TUintaIapId,
TRequestStatus &aStatus
)

Close connection for WLAN agent.

Parameters

const TUint aIapId
TRequestStatus & aStatus

Connect()

IMPORT_C TIntConnect()

Client makes the connection to the server.

GetClientIapsL(const TUid, RArray< TUint > &)

IMPORT_C voidGetClientIapsL(const TUidaUid,
RArray< TUint > &aIapIdArray
)

Gets all Iaps of client

Parameters

const TUid aUid
RArray< TUint > & aIapIdArray

GetConnectionBssid(THssBssid &)

IMPORT_C TIntGetConnectionBssid(THssBssid &aBssId)

Get the BSSID of the currently connected AP.

Parameters

THssBssid & aBssId

GetIap(TIpcArgs)

IMPORT_C TUint32GetIap(TIpcArgsaArgs)

Parameters

TIpcArgs aArgs

GetScanResults(HssScanList &)

IMPORT_C TIntGetScanResults(HssScanList &aResults)

Perform a scan and return the detected WLAN networks.

Parameters

HssScanList & aResultsResults of the scan.

IapId()

TUint IapId()[inline]

Get ID of the IAP .

Join(const TUint)

IMPORT_C TIntJoin(const TUintaIapId)

Associate IAP with network.

Parameters

const TUint aIapId

LoginComplete(const TUint, TInt)

IMPORT_C TIntLoginComplete(const TUintaIapId,
TIntaStatus
)

End connection.

Parameters

const TUint aIapId
TInt aStatus

LogoutComplete(const TUint)

IMPORT_C TIntLogoutComplete(const TUintaIapId)

End connection.

Parameters

const TUint aIapId

Register(const TUid, const TDesC &, const TUint)

IMPORT_C TUintRegister(const TUidaUid,
const TDesC &aIapName,
const TUintaWaitnote
)

Create and Protect IAP, register HotSpot Client.

Parameters

const TUid aUid
const TDesC & aIapName
const TUint aWaitnote

SetTimerValues(TUid, TUint, TUint)

IMPORT_C TIntSetTimerValues(TUidaClientUid,
TUintaLoginTimerValue,
TUintaLogoutTimerValue
)

Set login and logout timer values of this client. If given values aren't suitable, the default values are set.

Parameters

TUid aClientUid
TUint aLoginTimerValue
TUint aLogoutTimerValue

SetUiState(const TUint, const TUint)

IMPORT_C voidSetUiState(const TUintaIapId,
const TUintaState
)

Set UI state of HotSpot browser logon application.

Parameters

const TUint aIapId
const TUint aState

ShutdownServerL()

IMPORT_C TIntShutdownServerL()

Shutdown server when uninstalling .sis -file.

Start(const TUint, TRequestStatus &)

IMPORT_C voidStart(const TUintaIapId,
TRequestStatus &aStatus
)

Start for WLAN agent.

Parameters

const TUint aIapId
TRequestStatus & aStatus

StartAgain(const TUint, TRequestStatus &)

IMPORT_C voidStartAgain(const TUintaIapId,
TRequestStatus &aStatus
)

Start again for WLAN agent.

Parameters

const TUint aIapId
TRequestStatus & aStatus

StartBrowser(const TDesC &, const TUint, const TUint, TRequestStatus &)

IMPORT_C voidStartBrowser(const TDesC &aString,
const TUintaIapId,
const TUintaNetId,
TRequestStatus &aStatus
)

Starts HotSpot browser for browser based authentication.

Parameters

const TDesC & aString
const TUint aIapId
const TUint aNetId
TRequestStatus & aStatus

StartLogin(const TUint, const TUint, TRequestStatus &)

IMPORT_C voidStartLogin(const TUintaIapId,
const TUintaNetworkId,
TRequestStatus &aStatus
)

StartLogin for NIFMAN Configuration Daemon.

Parameters

const TUint aIapId
const TUint aNetworkId
TRequestStatus & aStatus

StartServer()

TInt StartServer()[protected]

Start the server during Connect() if the server is not loaded.

Stop(const TUint)

IMPORT_C TIntStop(const TUintaIapId)

Stop associating IAP.

Parameters

const TUint aIapId

StopConnectionL(const TUint, const TUint)

TInt StopConnectionL(const TUintaIapId,
const TUintaNetworkId
)[private]

Stops active connection

Parameters

const TUint aIapId
const TUint aNetworkId

UnRegister(const TUint, const TUint, const TUid)

IMPORT_C TIntUnRegister(const TUintaIapId,
const TUintaNetworkId,
const TUidaUid
)

Delete IAP and unregister HotSpot Client.

Parameters

const TUint aIapId
const TUint aNetworkId
const TUid aUid

Version()

TVersion Version()const

Version information.

WaitForNotification(TRequestStatus &, TDes8 &)

voidWaitForNotification(TRequestStatus &aReturnValue,
TDes8 &aReturnData
)

Set a message to pend notification.

Parameters

TRequestStatus & aReturnValueStatus of the calling active object.
TDes8 & aReturnData(OUT) Data returned by the notification.

Member Data Documentation

TIpcArgs iArgs

TIpcArgs iArgs[private]

Parameter array type

CHssIapHandler * iIapHandler

CHssIapHandler *iIapHandler[private]

Handler for changing IAP settings

TUint iIapId

TUint iIapId[private]

ID of the IAP.

CHssSrvNotifications * iNotify

CHssSrvNotifications *iNotify[private]

Callback interface to HSS management.

CHssScanHandler * iScanHandler

CHssScanHandler *iScanHandler[private]

Handler for changing IAP settings