CIctsEngine Class Reference

class CIctsEngine : public CBase

Engine

ictsclientinterface.lib

Inherits from

Constructor & Destructor Documentation

CIctsEngine(TUint32, TUint32, MIctsObserver &)

CIctsEngine(TUint32aIapId,
TUint32aNetworkId,
MIctsObserver &aClient
)[private]

C++ default constructor.

Parameters

TUint32 aIapIdIAP id
TUint32 aNetworkIdNetwork id
MIctsObserver & aClientClient for callback calls

~CIctsEngine()

~CIctsEngine()[virtual]

Destructor.

Member Functions Documentation

CancelStartL()

voidCancelStartL()

Cancels connectivity test.

CheckSettingL()

TInt CheckSettingL()[private]

Checks user defined ICT settings stored in CenRep

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

HttpEventL(TIctsTestResult, TDesC &)

voidHttpEventL(TIctsTestResultaResult,
TDesC &aString
)

Callback from CHttpHandler

Parameters

TIctsTestResult aResultResult of HTTP::GET
TDesC & aStringHTTP Response body (if exists)

NewL(TUint32, TUint32, MIctsObserver &)

CIctsEngine *NewL(TUint32aIapId,
TUint32aNetworkId,
MIctsObserver &aClient
)[static]

Two-phased constructor.

Parameters

TUint32 aIapIdIAP id
TUint32 aNetworkIdNetwork id
MIctsObserver & aClientClient for callback calls

PollingIntervalTimeout()

voidPollingIntervalTimeout()[virtual]

PollingTimeTimeout()

voidPollingTimeTimeout()[virtual]

Callback from CIctsPollingTimeTimer

StartL()

voidStartL()

Starts basic internet connectivity test.

StartPolling(TInt, TInt)

voidStartPolling(TIntaTime,
TIntaInterval
)

Starts polling.

Parameters

TInt aTimePolling time used
TInt aIntervalTime interval of execution

StopPolling()

voidStopPolling()

Stops polling

Member Data Documentation

MIctsObserver & iClient

MIctsObserver &iClient[private]

Reference of client using test service Not own.

RHssInterface iHsServer

RHssInterface iHsServer[private]

Handle to a session with a hotspot server

CIctsHttpHandler * iHttpHandler

CIctsHttpHandler *iHttpHandler[private]

Instance of HTTP handling class Own.

TBuf8< KMaxIpLength > iIPAddress

TBuf8< KMaxIpLength >iIPAddress[private]

Contains IP address to be used

TUint32 iIapId

TUint32 iIapId[private]

IAP identifier

TUint32 iNetworkId

TUint32 iNetworkId[private]

Network identifier

TInt iPollingInterval

TInt iPollingInterval[private]

Interval of polling

CIctsPollingIntervalTimer * iPollingIntervalTimer

CIctsPollingIntervalTimer *iPollingIntervalTimer[private]

Timer for polling interval Own.

TBool iPollingStatus

TBool iPollingStatus[private]

Status if we are polling or not

CIctsPollingTimeTimer * iPollingTimeTimer

CIctsPollingTimeTimer *iPollingTimeTimer[private]

Timer for total polling time Own.

CRepository * iRepository

CRepository *iRepository[private]

Intance of CenRep Own.

TBuf< KStringLength > iString

TBuf< KStringLength >iString[private]

Return string to client. Can contain redirect URL or error information.