public interface Listener
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(Object event)
Notifies the recipient that an event has occurred.
|
void handleEvent(Object event) throws org.apache.guacamole.GuacamoleException
Throwing an exception from an event listener can act to veto an action in progress for some event types. See the Javadoc for specific event types for details.
event
- An object that describes the event that has occurred.org.apache.guacamole.GuacamoleException
- If the listener wishes to stop notification of the event to subsequent
listeners. For some event types, this acts to veto an action in progress;
e.g. treating a successful authentication as though it failed.Copyright © 2018. All rights reserved.