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

  • CSensrvTransactionMonitor

Constructor & Destructor Documentation

CSensrvTransactionMonitor(CSensrvPluginProxy &)

CSensrvTransactionMonitor(CSensrvPluginProxy &aProxy)[private]

C++ constructor

Since
S60 5.0

Parameters

CSensrvPluginProxy & aProxyParent 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 * aTransactionThe transaction to be added.

ConstructL()

voidConstructL()[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 & aProxyParent proxy.

RemoveAllTransactions()

voidRemoveAllTransactions()

Removes all transactions.

Since
S60 5.0

RemoveSessionTransactions(CSensrvSession *)

voidRemoveSessionTransactions(CSensrvSession *aSession)

Removes all transactions initiated by specified session from monitoring.

Since
S60 5.0

Parameters

CSensrvSession * aSessionThe session to match.

RemoveTransaction(CSensrvTransaction *)

voidRemoveTransaction(CSensrvTransaction *aTransaction)

Removes specified transaction from monitoring.

Since
S60 5.0

Parameters

CSensrvTransaction * aTransactionThe transaction to be removed.

TimerFired(TInt)

voidTimerFired(TIntaTimerId)

Called when the timer fires

Since
S60 5.0

Parameters

TInt aTimerIdTimer 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.