예제 #1
0
        //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;
        }
예제 #2
0
 public HttpClientSender(ClientListener clientListener, ILogger logger, JimuAddress address) : base(clientListener, logger)
 {
     _address        = address;
     _clientListener = clientListener;
 }
예제 #3
0
 public DotNettyClientSender(ClientListener listener, ILogger logger, IChannel channel) : base(listener, logger)
 {
     _channel = channel;
 }