Nokia N97 SDK
Example Applications Guide

CSIPExTimeOutTimer Class Reference

#include <SIPExTimeOutTimer.h>

Inheritance diagram for CSIPExTimeOutTimer:

List of all members.

Detailed Description

Implements timeout timer.

Definition at line 33 of file SIPExTimeOutTimer.h.


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


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.

Referenced by NewL().

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().

Referenced by CSIPExSocketEngine::ConstructL().

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     }


The documentation for this class was generated from the following files:

© Nokia 2009

Back to top