示例#1
0
        public RpcClient(ITopologyLoader topologyLoader, TimeoutSettings defaultTimeout, RpcClientComponentOverrides componentOverrides = null)
        {
            topology            = topologyLoader.Load();
            this.defaultTimeout = defaultTimeout;
            var componentContainer = new RpcClientComponentContainer(this, componentOverrides ?? new RpcClientComponentOverrides());

            proxyContainer = componentContainer.GetIServiceProxyContainer();
        }
示例#2
0
 public RpcClientComponentContainer(IRpcClient client, RpcClientComponentOverrides overrides)
 {
     this.client    = client;
     this.overrides = overrides;
 }
 public RpcClientComponentContainer(IRpcClient client, RpcClientComponentOverrides overrides)
 {
     this.client = client;
     this.overrides = overrides;
 }