public class SshEventRegistry extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static SshEventRegistry |
instance |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(SshEventListener listener)
Append a listener to the current set of ssh event listeners.
|
protected void |
notifyListeners(SshEvent event)
Send a SshEvent to all listeners.
|
void |
removeListener(SshEventListener listener)
Unregister an event listener.
|
public static final SshEventRegistry instance
public void addListener(SshEventListener listener)
listener - The listener to which to send SshEvent messages.removeListener(SshEventListener)protected final void notifyListeners(SshEvent event)
event - The event.public void removeListener(SshEventListener listener)
listener - The listener to remove from the list of listeners to which
SshEvent messages are sent.addListener(SshEventListener)