-
public interface PacketParserInterface for custom packet parsing logic. Implement this to define your own packet detection algorithm.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPacketParser.ParseResultResult of a parse operation.
-
Method Summary
Modifier and Type Method Description abstract PacketParser.ParseResultparse(ByteArray buffer)Attempts to extract a complete packet from the buffer. -
-
Method Detail
-
parse
abstract PacketParser.ParseResult parse(ByteArray buffer)
Attempts to extract a complete packet from the buffer.
- Parameters:
buffer- The current accumulated data
-
-
-
-