public class StructuredSyslogServerEvent extends SyslogServerEvent
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.
| Modifier and Type | Field and Description |
|---|---|
protected String |
applicationName |
protected org.joda.time.DateTime |
dateTime |
protected org.joda.time.format.DateTimeFormatter |
dateTimeFormatter |
protected String |
processId |
charSet, date, DATE_FORMAT, DATE_FORMAT_S, facility, host, inetAddress, isHostStrippedFromMessage, level, message, rawBytes, rawLength, rawString| Constructor and Description |
|---|
StructuredSyslogServerEvent(byte[] message,
int length,
InetAddress inetAddress) |
StructuredSyslogServerEvent(String message,
InetAddress inetAddress) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationName() |
org.joda.time.DateTime |
getDateTime() |
org.joda.time.format.DateTimeFormatter |
getDateTimeFormatter() |
String |
getProcessId() |
StructuredSyslogMessage |
getStructuredMessage() |
protected void |
parseApplicationName() |
protected void |
parseDate() |
protected void |
parseHost() |
protected void |
parseProcessId() |
void |
setDateTimeFormatter(Object dateTimeFormatter) |
getCharSet, getDate, getFacility, getHost, getLevel, getMessage, getRaw, getRawLength, initialize, initialize, isHostStrippedFromMessage, parse, parsePriority, setCharSet, setDate, setFacility, setHost, setLevel, setMessageprotected String applicationName
protected String processId
protected org.joda.time.DateTime dateTime
protected org.joda.time.format.DateTimeFormatter dateTimeFormatter
public StructuredSyslogServerEvent(byte[] message,
int length,
InetAddress inetAddress)
public StructuredSyslogServerEvent(String message, InetAddress inetAddress)
public org.joda.time.format.DateTimeFormatter getDateTimeFormatter()
public void setDateTimeFormatter(Object dateTimeFormatter)
protected void parseApplicationName()
protected void parseProcessId()
protected void parseDate()
parseDate in class SyslogServerEventprotected void parseHost()
parseHost in class SyslogServerEventpublic String getApplicationName()
public String getProcessId()
public org.joda.time.DateTime getDateTime()
public StructuredSyslogMessage getStructuredMessage()
Copyright © 2017. All rights reserved.