Package ch.qos.logback.classic.net
Class SimpleSocketServer
- java.lang.Object
-
- java.lang.Thread
-
- ch.qos.logback.classic.net.SimpleSocketServer
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
SimpleSSLSocketServer
@Deprecated(since="2022-01-27") public class SimpleSocketServer extends java.lang.Thread
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.A simpleSocketNode
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 toJoranConfigurator
.- Since:
- 0.8.4
-
-
Constructor Summary
Constructors Constructor Description SimpleSocketServer(LoggerContext lc, int port)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated.static void
configureLC(LoggerContext lc, java.lang.String configFile)
Deprecated.java.util.concurrent.CountDownLatch
getLatch()
Deprecated.Used for testing purposesboolean
isClosed()
Deprecated.static void
main(java.lang.String[] argv)
Deprecated.void
run()
Deprecated.void
socketNodeClosing(SocketNode sn)
Deprecated.-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
SimpleSocketServer
public SimpleSocketServer(LoggerContext lc, int port)
Deprecated.
-
-
Method Detail
-
main
public static void main(java.lang.String[] argv) throws java.lang.Exception
Deprecated.- Throws:
java.lang.Exception
-
run
public void run()
Deprecated.- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
-
getLatch
public java.util.concurrent.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, java.lang.String configFile) throws JoranException
Deprecated.- Throws:
JoranException
-
-