Beispiel #1
0
        public Node(string host, int nodeId, int index, int memcachedPort, int streamingPort, int apiPort)
        {
            this.Host = host;
            _streamingService = new StreamingClusterDataService(host, streamingPort);
            _memcachedServer = new MemcachedServer(host, memcachedPort);

            this.Index = index;

            this.StreamingPort = streamingPort;
            this.MemcachedPort = memcachedPort;
            this.ApiPort = apiPort;
        }
 public void Setup()
 {
     _target = new StreamingClusterDataService("localhost", 8080);
     _target.Start();
     Thread.Sleep(500);
 }