Exemple #1
0
 /// <summary>
 /// Get remote client config from server.
 /// </summary>
 /// <param name="clientName">Name of the client.</param>
 /// <param name="clientVersion">Version of the client.</param>
 /// <param name="callBack">Callback upon completion.</param>
 public void GetConfig(string clientName, string clientVersion, GetConfigCallBack callBack)
 {
     lock (this.operations)
       {
     this.operations.Enqueue(new GetConfigOperation(clientName, clientVersion, callBack));
       }
 }
Exemple #2
0
 /// <summary>
 /// Create a new voting list get operation.
 /// </summary>
 /// <param name="clientName">Name of the client.</param>
 /// <param name="clientVersion">Version of the client.</param>
 /// <param name="callBack">Callback upon completion.</param>
 public GetConfigOperation(string clientName, string clientVersion, GetConfigCallBack callBack)
 {
     this.clientName = clientName;
     this.clientVersion = clientVersion;
     this.callBack = callBack;
 }