Interface RequestHandler

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 RequestHandler
The functional interface used in RegistryHandler to save methods and call them.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(io.netty.channel.ChannelHandlerContext ctx, Object msg)
    The method is called according to the context of the passed listener method.
  • Method Details

    • handle

      void handle(io.netty.channel.ChannelHandlerContext ctx, Object msg)
      The method is called according to the context of the passed listener method.
      Parameters:
      ctx - channel context.
      msg - the message object.