示例#1
0
        public Resender(string minerHost, Int32 minerPort, string phpHandler, Int32 timeout = 5)
        {
            _api     = new ApiWorker(minerHost, minerPort);
            _post    = new HttpWorker(phpHandler);
            Commands = new List <string>();

            SetTimeout(timeout);

            _cw("Resender initialized.");
        }
示例#2
0
        public Resender(string minerHost, Int32 minerPort, string phpHandler, Int32 timeout = 5)
        {
            _api = new ApiWorker(minerHost, minerPort);
            _post = new HttpWorker(phpHandler);
            Commands = new List<string>();

            SetTimeout(timeout);

            _cw("Resender initialized.");
        }