org.productivity.java.syslog4j.server
Interface SyslogServerEventIF
- All Superinterfaces:
- java.io.Serializable, SyslogCharSetIF
- All Known Implementing Classes:
- StructuredSyslogServerEvent, SyslogServerEvent
public interface SyslogServerEventIF
- extends SyslogCharSetIF
SyslogServerEventIF provides an extensible interface for Syslog4j
server events.
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: SyslogServerEventIF.java,v 1.4 2010/11/28 01:38:08 cvs Exp $
- Author:
- <syslog4j@productivity.org>
getRaw
byte[] getRaw()
- Note: getRaw() may use System.arraycopy(..) each time it is called; best to call it once and store the result.
- Returns:
- Returns the raw data received from the client.
getFacility
int getFacility()
setFacility
void setFacility(int facility)
getDate
java.util.Date getDate()
setDate
void setDate(java.util.Date date)
getLevel
int getLevel()
setLevel
void setLevel(int level)
getHost
java.lang.String getHost()
setHost
void setHost(java.lang.String host)
isHostStrippedFromMessage
boolean isHostStrippedFromMessage()
getMessage
java.lang.String getMessage()
setMessage
void setMessage(java.lang.String message)