Beispiel #1
0
        private void InitProxy()
        {
            NodeAddress storeAddress = new NodeAddress();

            storeAddress.Host = Configuration.Instance().Get <string>("ServiceStore", "Host", "localhost");
            storeAddress.Port = Configuration.Instance().Get <int>("ServiceStore", "Port", 19995);

            _proxy = new ServiceStore_Proxy(_transport.Connect(storeAddress.Host, storeAddress.Port));
        }
Beispiel #2
0
        private void InitProxy()
        {
            NodeAddress storeAddress = new NodeAddress();
            storeAddress.Host = Configuration.Instance().Get<string>("ServiceStore", "Host", "localhost");
            storeAddress.Port = Configuration.Instance().Get<int>("ServiceStore", "Port", 19995);

            _proxy = new ServiceStore_Proxy(_transport.Connect(storeAddress.Host, storeAddress.Port));
        }