|
||||||||||
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.UDPSocketServer
public class UDPSocketServer
Listens for events over a socket connection.
Constructor Summary | |
---|---|
UDPSocketServer(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 UDPSocketServer(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 |
Copyright © 1999-2013 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.