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
-
Method Details
-
accepts
- Parameters:
context- the context to check.- Returns:
trueif the context is accepted,falseotherwise.
-