public RemoteIdGenerator(Integro.InMeta.Runtime.CentralServer.CentralServer owner, ApplicationDbConfig connectionParams) : base(connectionParams) { string centralServerAddress; RemoteIdGenerator.TryParseAddress(IdGenerator.GetIdGeneratorAddress(connectionParams), out centralServerAddress, out this.FAppId); this.FCentralServerConnection = new CentralServerConnection(owner, centralServerAddress); }
public CentralServerConnection(Integro.InMeta.Runtime.CentralServer.CentralServer owner, string address) { this.FNetClient = new CentralServerClient() { Owner = owner, Host = address }; this.FAddress = address; }