Package org.jppf.nio

Interface NioMessageReader.MessageHandler<C extends AbstractNioContext>

Type Parameters:
C - the type of connection context.
Enclosing class:
NioMessageReader<C extends AbstractNioContext>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface protected static interface NioMessageReader.MessageHandler<C extends AbstractNioContext>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(C context, NioMessage message)
    Execute this task.
  • Method Details

    • execute

      void execute(C context, NioMessage message) throws Exception
      Execute this task.
      Parameters:
      context - the context associated with the channel.
      message - the message to handle.
      Throws:
      Exception - iuf any error occurs.