S60 3rd Edition SDK for Symbian OS
Example Applications Guide

CSIPExTimeOutTimer Class Reference

#include <SIPExTimeOutTimer.h>

List of all members.

Public Member Functions

 ~CSIPExTimeOutTimer ()

Static Public Member Functions

static CSIPExTimeOutTimer * NewL (MSIPExTimeOutNotify &aTimeOutNotify)

Protected Member Functions

 CSIPExTimeOutTimer (MSIPExTimeOutNotify &aTimeOutNotify)
void ConstructL ()

Private Member Functions

virtual void RunL ()

Private Attributes

MSIPExTimeOutNotify & iNotifier


Detailed Description

Implements timeout timer.

Definition at line 33 of file SIPExTimeOutTimer.h.


Constructor & Destructor Documentation

CSIPExTimeOutTimer::~CSIPExTimeOutTimer (   ) 
 

Destructor.

Definition at line 63 of file SIPExTimeOutTimer.cpp.

00064     {
00065         Cancel();
00066     }

CSIPExTimeOutTimer::CSIPExTimeOutTimer (  MSIPExTimeOutNotify &  aTimeOutNotify  )  [protected]
 

C++ default constructor.

Parameters:
aTimeOutNotify The reference to the timeout notifier.

Definition at line 42 of file SIPExTimeOutTimer.cpp.

00043     : CTimer( EPriorityStandard ), iNotifier( aTimeOutNotify )
00044     {
00045     }


Member Function Documentation

CSIPExTimeOutTimer * CSIPExTimeOutTimer::NewL (  MSIPExTimeOutNotify &  aTimeOutNotify  )  [static]
 

Static constructor

Parameters:
aTimeOutNotify The reference to the timeout notifier.
Returns:
A new instance of CSIPExTimeOutTimer

Definition at line 25 of file SIPExTimeOutTimer.cpp.

References CSIPExTimeOutTimer().

00027     {
00028     CSIPExTimeOutTimer* self = new( ELeave ) CSIPExTimeOutTimer( aTimeOutNotify );
00029     
00030     CleanupStack::PushL( self );
00031     self->ConstructL();
00032     CleanupStack::Pop();
00033 
00034     return self;
00035     }

void CSIPExTimeOutTimer::ConstructL (   )  [protected]
 

Symbian 2nd phase constructor that might leave.

Definition at line 52 of file SIPExTimeOutTimer.cpp.

00053     {
00054         CTimer::ConstructL();
00055         CActiveScheduler::Add( this );
00056     }

void CSIPExTimeOutTimer::RunL (   )  [private, virtual]
 

From CActive

Definition at line 73 of file SIPExTimeOutTimer.cpp.

References iNotifier, and MSIPExTimeOutNotify::TimerExpired().

00074     {
00075         // Tell the notifier that times out.
00076         iNotifier.TimerExpired();
00077     }


© Nokia 2006

Back to top