Interface RawPlayDataHandler<S extends EngineConnectionState>

Type Parameters:
S - The connection state
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<S extends EngineConnectionState>
Represents a listener for data being sent to a raw channel.
  • Method Summary

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

    • handlePayload

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