Interface ShutdownListener

All Superinterfaces:
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 ShutdownListener extends EventListener
A ShutdownListener receives information about the shutdown of connections and channels. Note that when a connection is shut down, its associated channels are also considered shut down and their ShutdownListeners will be notified (with the same cause). Because of this, and the fact that channel ShutdownListeners execute in the connection's thread, attempting to make blocking calls on a connection inside the listener will lead to deadlock.
See Also: