예제 #1
0
 public Node(Credentials node)
 {
     _node     = node;
     Client    = new SynchronousClient(node.Host, node.Port, node.ID);
     _tasks    = new TDict <string, DataRequest>();
     Heartbeat = new TInt();
 }
예제 #2
0
 public Driver(DriverConfig Config, string Image)
 {
     this.Config     = Config;
     this.Image      = Image;
     _requestsBehind = new TDict <string, DataRequest>();
     _connector      = new Connector(Config);
 }