- All Known Subinterfaces:
- All Known Implementing Classes:
- 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 TcpListener
Classes that implement this interface may register with a connection factory to receive messages retrieved from a
- Gary Russell
(Message<?> message)Called by a TCPConnection when a new message arrives.
message- The message.
- true if the message was intercepted