Package org.opennms.netmgt.syslogd
Class SingleSequenceParser
- java.lang.Object
-
- org.opennms.netmgt.syslogd.SingleSequenceParser
-
- All Implemented Interfaces:
ByteBufferParser<SyslogMessage>
public class SingleSequenceParser extends java.lang.Object implements ByteBufferParser<SyslogMessage>
This class uses a singleParserStage
sequence to parse an incomingByteBuffer
message.
-
-
Constructor Summary
Constructors Constructor Description SingleSequenceParser(java.util.List<ParserStage> stages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<SyslogMessage>
parse(java.nio.ByteBuffer incoming)
-
-
-
Constructor Detail
-
SingleSequenceParser
public SingleSequenceParser(java.util.List<ParserStage> stages)
-
-
Method Detail
-
parse
public java.util.concurrent.CompletableFuture<SyslogMessage> parse(java.nio.ByteBuffer incoming)
- Specified by:
parse
in interfaceByteBufferParser<SyslogMessage>
-
-