Exemplo n.º 1
0
        virtual protected string RequestEntry(string message)
        {
            _tcpClientActor.Write(message);
            var entry = _tcpClientActor.ReadEntry();

            //_tcpClientActor.WriteLine(string.Empty);
            return(entry);
        }
 public override string GetPageContent()
 {
     _tcpClientActor.Action(TelnetAction.ClearScreen);
     _tcpClientActor.WriteLine("Monitoring all events in the reverse proxy server.");
     _tcpClientActor.WriteLine("[Press enter to exit the monitor...]");
     LogHelper.MessageEvent += LogHelper_MessageEvent;
     _tcpClientActor.ReadEntry();
     LogHelper.MessageEvent -= LogHelper_MessageEvent;
     return(null);
 }