public class InfoEvent extends MessageEvent
| Modifier and Type | Field and Description |
|---|---|
private static int |
DEFLEVEL
The default intege following
HEADER. |
static String |
HEADER
The type of this event.
|
private static Map |
IMPORTANT
A look-up table linking important info messages to status classes.
|
private String[] |
line
The lines read in or set during initialization of the info event.
|
SEPCHARlocalHost, sourceNamesource| Constructor and Description |
|---|
InfoEvent(Object src)
Creates a new info element if only the source is known.
|
InfoEvent(Object src,
String type,
long time)
Creates a new info event.
|
| Modifier and Type | Method and Description |
|---|---|
static InfoEvent |
createInfo(MessageBin bin)
Creates an info event from a message bin.
|
static ErrorEvent |
createStatusFromInfo(InfoEvent ie)
Due to some misscoding in the ATIS-server, we have to translate some
INFO messages to status messages, as they might trigger some action.
|
String[] |
getLine()
Returns the lines associated with this info event.
|
boolean |
parseLine(String[] info)
Parsing of lines is not intended for info events.
|
void |
setLine(String[] info)
Sets the line associated with this info event.
|
checkType, equals, equalTime, equalTime, fromAscii, getAllCommandLines, getExecuteGroupKey, getHead, getNr, getTime, getType, hashCode, isValid, parseFromSingleString, readFromBufferedStream, setNr, setTime, setType, setValid, toSkippedString, toStringgetHost, getSourceName, setSourceNamegetSourcepublic static final String HEADER
private static final int DEFLEVEL
HEADER.private String[] line
private static final Map IMPORTANT
public InfoEvent(Object src)
public static InfoEvent createInfo(MessageBin bin)
public static ErrorEvent createStatusFromInfo(InfoEvent ie)
public void setLine(String[] info)
public String[] getLine()
getLine in class MessageEventpublic boolean parseLine(String[] info)
parseLine in class MessageEvent