public interface SshdEventListener extends EventListener
Modifier and Type | Method and Description |
---|---|
static <L extends SshdEventListener> |
validateListener(L listener,
String prefix)
Makes sure that the listener is neither
null nor a proxy |
static <L extends SshdEventListener> L validateListener(L listener, String prefix)
null
nor a proxyL
- Type of SshdEventListener
being validationlistener
- The listener instanceprefix
- Prefix text to be prepended to validation failure messagesCopyright © 2008–2022 The Apache Software Foundation. All rights reserved.