Package org.opennms.netmgt.syslogd
Class ParserState
- java.lang.Object
-
- org.opennms.netmgt.syslogd.ParserState
-
- All Implemented Interfaces:
java.lang.Cloneable
public class ParserState extends java.lang.Object implements java.lang.Cloneable
The state of the entire parse operation. This state should include all of the finished tokens generated byParserStage
operations.
-
-
Field Summary
Fields Modifier and Type Field Description SyslogMessage
message
-
Constructor Summary
Constructors Constructor Description ParserState(java.nio.ByteBuffer input)
ParserState(java.nio.ByteBuffer input, SyslogMessage message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParserState
clone()
java.nio.ByteBuffer
getBuffer()
java.lang.String
toString()
-
-
-
Field Detail
-
message
public final SyslogMessage message
-
-
Constructor Detail
-
ParserState
public ParserState(java.nio.ByteBuffer input)
-
ParserState
public ParserState(java.nio.ByteBuffer input, SyslogMessage message)
-
-
Method Detail
-
getBuffer
public java.nio.ByteBuffer getBuffer()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
clone
public ParserState clone()
- Overrides:
clone
in classjava.lang.Object
-
-