Ejemplo n.º 1
0
        public bool Execute()
        {
            bool executed = false;
            int  pingId   = -1;

            if (_cmdElements.Length == 2)
            {
                if (Int32.TryParse(_cmdElements[1], out pingId))
                {
                    ConnectionChecker.SetPingResponse(pingId, DateTime.Now);
                    executed = true;
                }
            }

            return(executed);
        }