public HeartbeatService() {
            InitializeComponent();
            this.ServiceName = ShortName;
            this.AutoLog = true;
            this.CanPauseAndContinue = false;
            this.CanShutdown = true;
            this.CanStop = true;
            ServiceEventLog = this.EventLog;

            m_hs = new HeartbeatServer(Constants.Address, Constants.Port, Constants.Cookie, Constants.Period, Constants.Ttl);
        }
        public HeartbeatService()
        {
            InitializeComponent();
            this.ServiceName         = ShortName;
            this.AutoLog             = true;
            this.CanPauseAndContinue = false;
            this.CanShutdown         = true;
            this.CanStop             = true;
            ServiceEventLog          = this.EventLog;

            m_hs = new HeartbeatServer(Constants.Address, Constants.Port, Constants.Cookie, Constants.Period, Constants.Ttl);
        }