Package 

Interface PacketParser


  • 
    public interface PacketParser
    
                        

    Interface 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 class PacketParser.ParseResult

      Result of a parse operation.

    • Method Summary

      Modifier and Type Method Description
      abstract PacketParser.ParseResult parse(ByteArray buffer) Attempts to extract a complete packet from the buffer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait