public abstract class DefaultResultListener<E> extends java.lang.Object implements IFutureCommandResultListener<E>
Constructor and Description |
---|
DefaultResultListener()
Create a new listener.
|
DefaultResultListener(java.util.logging.Logger logger)
Create a new listener.
|
Modifier and Type | Method and Description |
---|---|
void |
commandAvailable(java.lang.Object command)
Called when a command is available.
|
void |
exceptionOccurred(java.lang.Exception exception)
Called when an exception occurred.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resultAvailable
public DefaultResultListener()
logger
- The logger.public DefaultResultListener(java.util.logging.Logger logger)
logger
- The logger.public void exceptionOccurred(java.lang.Exception exception)
exceptionOccurred
in interface IFunctionalExceptionListener
exception
- The exception.public void commandAvailable(java.lang.Object command)
commandAvailable
in interface IFutureCommandResultListener<E>