org.productivity.java.syslog4j
Interface SyslogMessageProcessorIF

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbstractSyslogMessageProcessor, StructuredSyslogMessageProcessor, SyslogMessageProcessor

public interface SyslogMessageProcessorIF
extends java.io.Serializable

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.

Version:
$Id: SyslogMessageProcessorIF.java,v 1.4 2010/11/28 04:15:18 cvs Exp $
Author:
<syslog4j@productivity.org>

Method Summary
 byte[] createPacketData(byte[] header, byte[] message, int start, int length)
           
 byte[] createPacketData(byte[] header, byte[] message, int start, int length, byte[] splitBeginText, byte[] splitEndText)
           
 java.lang.String createSyslogHeader(int facility, int level, java.lang.String localName, boolean sendLocalTimestamp, boolean sendLocalName)
           
 

Method Detail

createSyslogHeader

java.lang.String createSyslogHeader(int facility,
                                    int level,
                                    java.lang.String localName,
                                    boolean sendLocalTimestamp,
                                    boolean sendLocalName)

createPacketData

byte[] createPacketData(byte[] header,
                        byte[] message,
                        int start,
                        int length)

createPacketData

byte[] createPacketData(byte[] header,
                        byte[] message,
                        int start,
                        int length,
                        byte[] splitBeginText,
                        byte[] splitEndText)