⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tcpipmultihomingextimer.h

📁 symbian 第二版
💻 H
字号:
#ifndef __TcpipMultiHomingExTIMER_H__
#define __TcpipMultiHomingExTIMER_H__

#include <e32base.h>


/**
*
* @class    MTimeOutNotifier TcpipMultiHomingExTimer.h
* @brief    This class specifies the function to be called when a timeout occurs.
*
* Copyright (c) EMCC Software Ltd 2003
* @version    1.0
*
*/
class MTimeOutNotifier
{
public:
/*!
  @function TimerExpired

  @discussion The function to be called when a timeout occurs
  */
    virtual void TimerExpiredL() = 0;
};


/**
*
* @class    CTcpipMultiHomingExTimer TcpipMultiHomingExTimer.h
* @brief    This class will notify an object after a specified timeout
*
* Copyright (c) EMCC Software Ltd 2003
* @version    1.0
*
*/

class CTcpipMultiHomingExTimer : public CTimer
{
public:
/*!
  @function NewL

  @discussion Create a CTcpipMultiHomingExTimer object
  @param aPriority priority to use for this timer
  @param aTimeOutNotify object to notify of timeout event
  @result a pointer to the created instance of CTcpipMultiHomingExTimer
  */
    static CTcpipMultiHomingExTimer* NewL(const TInt aPriority, MTimeOutNotifier& aTimeOutNotify);

/*!
  @function NewL

  @discussion Create a CTcpipMultiHomingExTimer object
  @param aPriority priority to use for this timer
  @param aTimeOutNotify object to notify of timeout event
  @result a pointer to the created instance of CTcpipMultiHomingExTimer
  */
    static CTcpipMultiHomingExTimer* NewLC(const TInt aPriority, MTimeOutNotifier& aTimeOutNotify);

/*!
  @function ~CTcpipMultiHomingExTimer

  @discussion Destroy the object and release all memory objects
  */
    ~CTcpipMultiHomingExTimer();

protected: // From CTimer
/*!
  @function RunL

  @discussion Invoked when a timeout occurs
  */
    virtual void RunL();

private:
/*!
  @function CTcpipMultiHomingExTimer

  @discussion Perform the first phase of two phase construction
  @param aPriority priority to use for this timer
  @param aTimeOutNotify An observer to notify
  */
    CTcpipMultiHomingExTimer(const TInt aPriority, MTimeOutNotifier& aTimeOutNotify);

/*!
  @function ConstructL

  @discussion Perform the second phase construction of a CTcpipMultiHomingExTimer
  */
    void ConstructL();

private: // Member variables

    /*! @var The observer for this objects events */
    MTimeOutNotifier& iNotify;
};

#endif // __TcpipMultiHomingExTIMER_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -