예제 #1
0
        public override void OnMessage(
            StartMiningRequest startMiningRequest)
        {
            Debug.Assert(startMiningRequest != null);
            Debug.Assert(startMiningRequest.numberOfThreads > 0);

            dll.StartMining(startMiningRequest.wallet,
                            startMiningRequest.numberOfThreads,
                            startMiningRequest.workerName);
        }
예제 #2
0
 public abstract void OnMessage(
     StartMiningRequest startMiningRequest);