Example #1
0
        public Log4jNetReceiverConfigVm(Log4jNetReceiverConfig config)
        {
            _config = config;

            HostName = _config.HostName;
            Port     = _config.Port;
        }
 public Log4jNetReceiver(IReceiverFactory factory, Log4jNetReceiverConfig config) : base(factory, config)
 {
     this.Hostname  = config.HostName;
     this.Port      = config.Port;
     this.Name      = config.Name;
     this._listener = new TcpListener(IPAddress.Loopback, this.Port);
 }