public MainCore() { #region Cliente Hydra Bingo HeartbeatI config = new HeartbeatI { Data = new RegistryService { Id = Guid.NewGuid().ToString(), Status = 0, Name = "HydraBalancer", Packages = "com.hydraframework.balancer", Port = 1004, Version = "1.0.0-0", Group = "Lobby" } }; _HydraBingo = new HydraBingoClient("localhost", "1002", config); #endregion }
static void Main(string[] args) { Console.WriteLine("HydraBingo Client Test"); HeartbeatI config = new HeartbeatI { Data = new RegistryService { Id = Guid.NewGuid().ToString(), Status = 0, Name = "HydraBingoClient", Packages = "com.hydraframework.bingo.client.test", Port = 1004, Version = "1.0", Group = "Lobby" } }; HydraBingoClient _HydraBingo = new HydraBingoClient("localhost", "1002", config); var hola = _HydraBingo.Search(new SearchI { Name = "HydraBingoClient" }); Console.ReadLine(); }