org.productivity.java.syslog4j.server.impl.event.structured
Class StructuredSyslogServerEvent
java.lang.Object
org.productivity.java.syslog4j.server.impl.event.SyslogServerEvent
org.productivity.java.syslog4j.server.impl.event.structured.StructuredSyslogServerEvent
- All Implemented Interfaces:
- java.io.Serializable, SyslogServerEventIF, SyslogCharSetIF
public class StructuredSyslogServerEvent
- extends SyslogServerEvent
SyslogServerStructuredEvent provides an implementation of the
SyslogServerEventIF interface that supports receiving of structured syslog
messages, as defined in:
http://tools.ietf.org/html/draft-ietf-syslog-protocol-23#section-6
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: StructuredSyslogServerEvent.java,v 1.2 2009/07/25 18:42:47 cvs Exp $
- Author:
- Manish Motwani
- See Also:
- Serialized Form
Methods inherited from class org.productivity.java.syslog4j.server.impl.event.SyslogServerEvent |
getCharSet, getDate, getFacility, getHost, getLevel, getMessage, getRaw, parse, parsePriority, setCharSet, setDate, setFacility, setHost, setLevel, setMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StructuredSyslogServerEvent
public StructuredSyslogServerEvent(byte[] message,
int length,
java.net.InetAddress inetAddress)
parseApplicationName
protected void parseApplicationName()
parseProcessId
protected void parseProcessId()
parseDate
protected void parseDate()
- Overrides:
parseDate
in class SyslogServerEvent
parseHost
protected void parseHost()
- Overrides:
parseHost
in class SyslogServerEvent
getApplicationName
public java.lang.String getApplicationName()
getProcessId
public java.lang.String getProcessId()
getStructuredMessage
public StructuredSyslogMessage getStructuredMessage()