public abstract class DefaultResultListener<E> extends Object implements IFutureCommandResultListener<E>
Constructor and Description |
---|
DefaultResultListener()
Create a new listener.
|
DefaultResultListener(Logger logger)
Create a new listener.
|
Modifier and Type | Method and Description |
---|---|
void |
commandAvailable(Object command)
Called when a command is available.
|
void |
exceptionOccurred(Exception exception)
Called when an exception occurred.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resultAvailable
public DefaultResultListener()
logger
- The logger.public DefaultResultListener(Logger logger)
logger
- The logger.public void exceptionOccurred(Exception exception)
exceptionOccurred
in interface IResultListener<E>
exception
- The exception.public void commandAvailable(Object command)
commandAvailable
in interface IFutureCommandListener
Copyright © 2013. All Rights Reserved.