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