Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.graylog2.syslog4j.server;
 import java.util.Date;
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.

$Id:,v 1.4 2010/11/28 01:38:08 cvs Exp $
public interface SyslogServerEventIF extends SyslogCharSetIF {
Note: getRaw() may use System.arraycopy(..) each time it is called; best to call it once and store the result.

Returns the raw data received from the client.
    public byte[] getRaw();
    public int getFacility();
    public void setFacility(int facility);
    public Date getDate();
    public void setDate(Date date);
    public int getLevel();
    public void setLevel(int level);
    public String getHost();
    public void setHost(String host);
    public boolean isHostStrippedFromMessage();
    public String getMessage();
    public void setMessage(String message);
New to GrepCode? Check out our FAQ X