//private readonly ISerializer _serializer; //private readonly IClientSender _sender; public ClientSender(ClientListener listener, ILogger logger /*, ISerializer serializer*/) { _logger = logger; //this._serializer = serializer; _listener = listener; _listener.OnReceived += ListenerOnReceived; }
public HttpClientSender(ClientListener clientListener, ILogger logger, JimuAddress address) : base(clientListener, logger) { _address = address; _clientListener = clientListener; }
public DotNettyClientSender(ClientListener listener, ILogger logger, IChannel channel) : base(listener, logger) { _channel = channel; }