CSensrvTransactionMonitor Class Reference

class CSensrvTransactionMonitor : public CBase

Provides lifecycle monitoring service for transactions. Transaction timer is only running when there are active transactions.

Since
S60 5.0

Inherits from

Constructor & Destructor Documentation

CSensrvTransactionMonitor(CSensrvPluginProxy &)

CSensrvTransactionMonitor ( CSensrvPluginProxy & aProxy ) [private]

C++ constructor

Since
S60 5.0

Parameters

CSensrvPluginProxy & aProxy Parent proxy.

~CSensrvTransactionMonitor()

~CSensrvTransactionMonitor ( ) [virtual]

Destructor.

Member Functions Documentation

AddTransaction(CSensrvTransaction *)

TInt AddTransaction ( CSensrvTransaction * aTransaction )

Adds transaction to be monitored.

Since
S60 5.0

Parameters

CSensrvTransaction * aTransaction The transaction to be added.

ConstructL()

void ConstructL ( ) [private]

2nd phase of construction

Since
S60 5.0

NewL(CSensrvPluginProxy &)

CSensrvTransactionMonitor * NewL ( CSensrvPluginProxy & aProxy ) [static]

Two phase constructor.

Since
S60 5.0
Exceptions
KErrNoMemory

Out of memory.

Parameters

CSensrvPluginProxy & aProxy Parent proxy.

RemoveAllTransactions()

void RemoveAllTransactions ( )

Removes all transactions.

Since
S60 5.0

RemoveSessionTransactions(CSensrvSession *)

void RemoveSessionTransactions ( CSensrvSession * aSession )

Removes all transactions initiated by specified session from monitoring.

Since
S60 5.0

Parameters

CSensrvSession * aSession The session to match.

RemoveTransaction(CSensrvTransaction *)

void RemoveTransaction ( CSensrvTransaction * aTransaction )

Removes specified transaction from monitoring.

Since
S60 5.0

Parameters

CSensrvTransaction * aTransaction The transaction to be removed.

TimerFired(TInt)

void TimerFired ( TInt aTimerId )

Called when the timer fires

Since
S60 5.0

Parameters

TInt aTimerId Timer identifier to id which timer fired.

Member Data Documentation

CSensrvTransactionQueue * iMonitorQueue

CSensrvTransactionQueue * iMonitorQueue [private]

Queue for monitored transactions.

CSensrvPluginProxy & iProxy

CSensrvPluginProxy & iProxy [private]

Owning proxy.

CSensrvTimer * iTransactionTimer

CSensrvTimer * iTransactionTimer [private]

Transaction timer Own.