Exemplo n.º 1
0
 public RedisServer(RedisConnection connection, string serviceQueue, IServiceFactory serviceFactory)
 {
     this.connection = connection;
     this.serviceFactory = serviceFactory;
     this.serviceQueue = serviceQueue;
     this.receiveState = 0;
 }
Exemplo n.º 2
0
 public RedisClient(RedisConnection connection, string receiveQueue, string sendQueue)
 {
     this.connection = connection;
     this.receiveQueue = receiveQueue;
     this.sendQueue = sendQueue;
     this.nextId = 0;
     this.receiveState = 0;
     this.requestCallbacks = new ConcurrentDictionary<string, TaskCompletionSource<ResponseData>>();
 }