Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.graylog2.syslog4j;
 
SyslogMessageProcessorIF provides an extensible interface for writing custom Syslog4j message processors.

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.

Author(s):
<syslog4j@productivity.org>
Version:
$Id: SyslogMessageProcessorIF.java,v 1.4 2010/11/28 04:15:18 cvs Exp $
public interface SyslogMessageProcessorIF extends Serializable {
    public String createSyslogHeader(int facilityint levelString localNameboolean sendLocalTimestampboolean sendLocalName);
    public byte[] createPacketData(byte[] headerbyte[] messageint startint length);
    public byte[] createPacketData(byte[] headerbyte[] messageint startint lengthbyte[] splitBeginTextbyte[] splitEndText);
New to GrepCode? Check out our FAQ X