|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.logging.log4j.core.AbstractServer
org.apache.logging.log4j.core.net.SocketServer
public class SocketServer
Listens for events over a socket connection.
| Constructor Summary | |
|---|---|
SocketServer(int port)
Constructor. |
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
Main startup for the server. |
void |
run()
Accept incoming events and processes them. |
void |
shutdown()
Shutdown the server. |
| Methods inherited from class org.apache.logging.log4j.core.AbstractServer |
|---|
log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SocketServer(int port)
throws IOException
port - to listen on.
IOException - If an error occurs.| Method Detail |
|---|
public static void main(String[] args)
throws Exception
args - The command line arguments.
Exception - if an error occurs.public void shutdown()
public void run()
run in interface Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||