Package org.apache.sshd.common.util
Interface SshdEventListener
- All Superinterfaces:
EventListener
- All Known Subinterfaces:
IoServiceEventListener,SshFutureListener<T>
- Author:
- Apache MINA SSHD Project
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <L extends SshdEventListener>
LvalidateListener(L listener, String prefix) Makes sure that the listener is neithernullnor a proxy
-
Method Details
-
validateListener
Makes sure that the listener is neithernullnor a proxy- Type Parameters:
L- Type ofSshdEventListenerbeing validation- Parameters:
listener- The listener instanceprefix- Prefix text to be prepended to validation failure messages- Returns:
- The validated instance
-