Interface AsyncPacketHandler<P extends Packet, S extends Session>

All Superinterfaces:
PacketHandler<P,S>
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 AsyncPacketHandler<P extends Packet, S extends Session> extends PacketHandler<P,S>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final io.netty.channel.EventLoop
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default P
    apply(P packet, S session)
     
    boolean
    applyAsync(P packet, S session)
     
  • Field Details

    • EVENT_LOOP

      static final io.netty.channel.EventLoop EVENT_LOOP
  • Method Details