示例#1
0
        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);
        }
示例#2
0
 public CentralServerConnection(Integro.InMeta.Runtime.CentralServer.CentralServer owner, string address)
 {
     this.FNetClient = new CentralServerClient()
     {
         Owner = owner,
         Host  = address
     };
     this.FAddress = address;
 }