public void Close()
 {
     if (elaspedTimer == null) return;
     elaspedTimer.Close();
     elaspedTimer = null;
 }
 public SessionElaspedTimer(StateEngine agentStateEngine, SessionContext sessionContext)
 {
     this.agentStateEngine = agentStateEngine;
     this.sessionContext = sessionContext;
     elaspedTimer = new ElaspedTimer(SessionTimerConstants.TIMER_ELASPED_TIME, OnTimeElaspedHandler);
 }