Class SimpleSocketServer

java.lang.Object
java.lang.Thread
ch.qos.logback.classic.net.SimpleSocketServer
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
SimpleSSLSocketServer

@Deprecated(since="2022-01-27") public class SimpleSocketServer extends Thread
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
A simple SocketNode based server.
       <b>Usage:</b> java ch.qos.logback.classic.net.SimpleSocketServer port configFile
  
where port is a port number where the server listens and configFile is an xml configuration file fed to JoranConfigurator.
Since:
0.8.4
  • Constructor Details

    • SimpleSocketServer

      public SimpleSocketServer(LoggerContext lc, int port)
      Deprecated.
  • Method Details

    • main

      public static void main(String[] argv) throws Exception
      Deprecated.
      Throws:
      Exception
    • run

      public void run()
      Deprecated.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • getLatch

      public CountDownLatch getLatch()
      Deprecated.
      Used for testing purposes
    • isClosed

      public boolean isClosed()
      Deprecated.
    • close

      public void close()
      Deprecated.
    • socketNodeClosing

      public void socketNodeClosing(SocketNode sn)
      Deprecated.
    • configureLC

      public static void configureLC(LoggerContext lc, String configFile) throws JoranException
      Deprecated.
      Throws:
      JoranException