org.productivity.java.syslog4j.server
Interface SyslogServerIF

All Superinterfaces:
java.lang.Runnable
All Known Implementing Classes:
AbstractSyslogServer

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

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

getProtocol

public java.lang.String getProtocol()

getConfig

public SyslogServerConfigIF getConfig()

run

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

getThread

public java.lang.Thread getThread()

setThread

public void setThread(java.lang.Thread thread)

shutdown

public void shutdown()