Package com.nt.udc.io

Class CTimer

java.lang.Object
com.nt.udc.io.CTimer

public class CTimer extends Object
This class is used as a timer.
  • Field Details

    • m_iLogger

      protected ILogger m_iLogger
      This member is used to output errors, warnings and info.
    • m_startTime

      protected long m_startTime
      This member is used to time processing
    • m_startIntervalTime

      protected long m_startIntervalTime
    • m_duration

      protected long m_duration
    • m_countSuspends

      protected int m_countSuspends
  • Constructor Details

    • CTimer

      public CTimer(ILogger iLogger)
    • CTimer

      public CTimer()
  • Method Details

    • getDuration

      public long getDuration()
      Accessors
    • start

      public void start()
      This function is to start the timer.
    • suspend

      public void suspend()
      This function is called to suspend the timer.
    • resume

      public void resume()