/// <summary> /// Get signature requests from server. /// </summary> /// <param name="type">The type.</param> /// <param name="callBack">Callback upon completion.</param> public void GetStats(StatisticsDataType type, GetStatsCallBack callBack) { lock (this.operations) { this.operations.Enqueue(new GetStatsOperation(type, callBack)); } }
public GetStatsOperation(StatisticsDataType type, GetStatsCallBack callBack) { this.type = type; this.callBack = callBack; }