CIctsEngine Class Reference

class CIctsEngine : public CBase

Engine

ictsclientinterface.lib

Inherits from

Constructor & Destructor Documentation

CIctsEngine(TUint32, TUint32, MIctsObserver &)

CIctsEngine ( TUint32 aIapId,
TUint32 aNetworkId,
MIctsObserver & aClient
) [private]

C++ default constructor.

Parameters

TUint32 aIapId IAP id
TUint32 aNetworkId Network id
MIctsObserver & aClient Client for callback calls

~CIctsEngine()

~CIctsEngine ( ) [virtual]

Destructor.

Member Functions Documentation

CancelStartL()

void CancelStartL ( )

Cancels connectivity test.

CheckSettingL()

TInt CheckSettingL ( ) [private]

Checks user defined ICT settings stored in CenRep

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

HttpEventL(TIctsTestResult, TDesC &)

void HttpEventL ( TIctsTestResult aResult,
TDesC & aString
)

Callback from CHttpHandler

Parameters

TIctsTestResult aResult Result of HTTP::GET
TDesC & aString HTTP Response body (if exists)

NewL(TUint32, TUint32, MIctsObserver &)

CIctsEngine * NewL ( TUint32 aIapId,
TUint32 aNetworkId,
MIctsObserver & aClient
) [static]

Two-phased constructor.

Parameters

TUint32 aIapId IAP id
TUint32 aNetworkId Network id
MIctsObserver & aClient Client for callback calls

PollingIntervalTimeout()

void PollingIntervalTimeout ( ) [virtual]

PollingTimeTimeout()

void PollingTimeTimeout ( ) [virtual]

StartL()

void StartL ( )

Starts basic internet connectivity test.

StartPolling(TInt, TInt)

void StartPolling ( TInt aTime,
TInt aInterval
)

Starts polling.

Parameters

TInt aTime Polling time used
TInt aInterval Time interval of execution

StopPolling()

void StopPolling ( )

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.