Package io.github.joealisson.mmocore
Interface ConnectionFilter
-
- 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 ConnectionFilterThe filter of incoming connections.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccept(java.nio.channels.AsynchronousSocketChannel channel)This method must decide if a Connection can be accepted or not.
-