internal Client(Type serviceType, ClientConfig config, ObjectPool <IChannel> channelPool, ClientInvoker clientInvoker) { //Console.WriteLine("Client ctor"); _serviceType = serviceType; _timeOut = TimeSpan.FromSeconds(config.TimeOut); _rpcSerializer = config.RpcSerializer; _channelPool = channelPool; _clientInvoker = clientInvoker; }
internal ClientHandler(ClientInvoker clientInvoker, IRpcSerializer rpcSerializer) { _clientInvoker = clientInvoker; _rpcSerializer = rpcSerializer; }