public class UDPNetSyslogServer extends AbstractSyslogServer
Syslog4j is licensed under the Lesser GNU Public License v2.1. A copy of the LGPL license is available in the META-INF folder in all distributions of Syslog4j and in the base directory of the "doc" ZIP.
AbstractSyslogServer.Sessions| Modifier and Type | Field and Description |
|---|---|
protected DatagramSocket |
ds |
shutdown, syslogProtocol, syslogServerConfig, thread| Constructor and Description |
|---|
UDPNetSyslogServer() |
| Modifier and Type | Method and Description |
|---|---|
protected DatagramSocket |
createDatagramSocket() |
void |
initialize() |
void |
run() |
void |
shutdown() |
createEvent, createEvent, getConfig, getProtocol, getThread, handleDestroy, handleEvent, handleEvent, handleEvent, handleException, handleInitialize, handleSessionClosed, handleSessionOpen, initialize, isStructuredMessage, isStructuredMessage, setThreadprotected DatagramSocket ds
public void initialize()
throws SyslogRuntimeException
initialize in class AbstractSyslogServerSyslogRuntimeExceptionpublic void shutdown()
shutdown in interface SyslogServerIFshutdown in class AbstractSyslogServerprotected DatagramSocket createDatagramSocket() throws SocketException, UnknownHostException
SocketExceptionUnknownHostExceptionpublic void run()
Copyright © 2017. All rights reserved.