Interface RawPlayDataHandler<C extends EngineConnection>

Type Parameters:
C - The connection type
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RawPlayDataHandler<C extends EngineConnection>
Represents a listener for data being sent to a raw channel.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handlePayload(ChannelBuf data, C connection)
    Handles the given ChannelBuf data sent by a remote connection.
  • Method Details

    • handlePayload

      void handlePayload(ChannelBuf data, C connection)
      Handles the given ChannelBuf data sent by a remote connection.
      Parameters:
      data - The raw data
      connection - The remote connection