public class FortiGateSyslogEvent extends Object implements SyslogServerEventIF
| Constructor and Description |
|---|
FortiGateSyslogEvent(String rawEvent) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCharSet() |
Date |
getDate() |
int |
getFacility() |
Map<String,String> |
getFields() |
String |
getHost() |
int |
getLevel() |
String |
getMessage() |
byte[] |
getRaw()
Note: getRaw() may use System.arraycopy(..) each time it is called; best to call it once and store the result.
|
boolean |
isHostStrippedFromMessage() |
void |
setCharSet(String charSet) |
void |
setDate(Date date) |
void |
setFacility(int facility) |
void |
setFields(Map<String,String> fields) |
void |
setHost(String host) |
void |
setLevel(int level) |
void |
setMessage(String message) |
public FortiGateSyslogEvent(String rawEvent)
public byte[] getRaw()
SyslogServerEventIFgetRaw in interface SyslogServerEventIFpublic int getFacility()
getFacility in interface SyslogServerEventIFpublic void setFacility(int facility)
setFacility in interface SyslogServerEventIFpublic Date getDate()
getDate in interface SyslogServerEventIFpublic void setDate(Date date)
setDate in interface SyslogServerEventIFpublic int getLevel()
getLevel in interface SyslogServerEventIFpublic void setLevel(int level)
setLevel in interface SyslogServerEventIFpublic String getHost()
getHost in interface SyslogServerEventIFpublic void setHost(String host)
setHost in interface SyslogServerEventIFpublic boolean isHostStrippedFromMessage()
isHostStrippedFromMessage in interface SyslogServerEventIFpublic String getMessage()
getMessage in interface SyslogServerEventIFpublic void setMessage(String message)
setMessage in interface SyslogServerEventIFpublic String getCharSet()
getCharSet in interface SyslogCharSetIFpublic void setCharSet(String charSet)
setCharSet in interface SyslogCharSetIFCopyright © 2017. All rights reserved.