public class TCPNetSyslogServer 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.
| Modifier and Type | Class and Description |
|---|---|
static class |
TCPNetSyslogServer.TCPNetSyslogSocketHandler |
AbstractSyslogServer.Sessions| Modifier and Type | Field and Description |
|---|---|
protected ServerSocket |
serverSocket |
protected AbstractSyslogServer.Sessions |
sessions |
protected TCPNetSyslogServerConfigIF |
tcpNetSyslogServerConfig |
shutdown, syslogProtocol, syslogServerConfig, thread| Constructor and Description |
|---|
TCPNetSyslogServer() |
| Modifier and Type | Method and Description |
|---|---|
protected ServerSocket |
createServerSocket() |
protected ServerSocketFactory |
getServerSocketFactory() |
AbstractSyslogServer.Sessions |
getSessions() |
void |
initialize() |
void |
run() |
void |
shutdown() |
createEvent, createEvent, getConfig, getProtocol, getThread, handleDestroy, handleEvent, handleEvent, handleEvent, handleException, handleInitialize, handleSessionClosed, handleSessionOpen, initialize, isStructuredMessage, isStructuredMessage, setThreadprotected ServerSocket serverSocket
protected final AbstractSyslogServer.Sessions sessions
protected TCPNetSyslogServerConfigIF tcpNetSyslogServerConfig
public void initialize()
throws SyslogRuntimeException
initialize in class AbstractSyslogServerSyslogRuntimeExceptionpublic AbstractSyslogServer.Sessions getSessions()
public void shutdown()
shutdown in interface SyslogServerIFshutdown in class AbstractSyslogServerprotected ServerSocketFactory getServerSocketFactory() throws IOException
IOExceptionprotected ServerSocket createServerSocket() throws IOException
IOExceptionpublic void run()
Copyright © 2017. All rights reserved.