Package org.jppf.nio

Interface StatelessNioServer.ContextFilter<C extends AbstractNioContext>

Type Parameters:
C - the type of connection context.
Enclosing class:
StatelessNioServer<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 public static interface StatelessNioServer.ContextFilter<C extends AbstractNioContext>
Interface for context filtering.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accepts(C context)
     
  • Method Details

    • accepts

      boolean accepts(C context)
      Parameters:
      context - the context to check.
      Returns:
      true if the context is accepted, false otherwise.