Interface ServerListener


public interface ServerListener
  • Method Details

    • onConnected

      void onConnected(Connection connection)
    • onDisconnected

      void onDisconnected(Connection connection)
    • onPacket

      void onPacket(Connection connection, Packet packet)
    • onException

      void onException(Connection connection, Throwable throwable)
    • onUnknownPacket

      default void onUnknownPacket(Connection connection, int packetId)
      Called when a complete frame uses an id that is not registered locally.