Interface PacketHandler

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface PacketHandler
    • Method Detail

      • handle

        void handle​(PacketWrapper wrapper)
             throws java.lang.Exception
        Handles a packet.
        wrapper - packet wrapper
        java.lang.Exception - if an error occurs during the packet handling