org.productivity.java.syslog4j.server
Interface SyslogServerIF

All Superinterfaces:
java.lang.Runnable
All Known Implementing Classes:
AbstractSyslogServer, SSLTCPNetSyslogServer, TCPNetSyslogServer, UDPNetSyslogServer

public interface SyslogServerIF
extends java.lang.Runnable

SyslogServerIF provides a common interface for all Syslog4j server implementations.

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.

Version:
$Id: SyslogServerIF.java,v 1.5 2008/11/07 15:15:41 cvs Exp $
Author:
<syslog4j@productivity.org>

Method Summary
 SyslogServerConfigIF getConfig()
           
 java.lang.String getProtocol()
           
 java.lang.Thread getThread()
           
 void initialize(java.lang.String protocol, SyslogServerConfigIF config)
           
 void run()
           
 void setThread(java.lang.Thread thread)
           
 void shutdown()
           
 

Method Detail

initialize

void initialize(java.lang.String protocol,
                SyslogServerConfigIF config)
                throws SyslogRuntimeException
Throws:
SyslogRuntimeException

getProtocol

java.lang.String getProtocol()

getConfig

SyslogServerConfigIF getConfig()

run

void run()
Specified by:
run in interface java.lang.Runnable

getThread

java.lang.Thread getThread()

setThread

void setThread(java.lang.Thread thread)

shutdown

void shutdown()