|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.toolforge.karma.core.cmd.CommandResponse
A CommandResponse object is used to dispatch CommandResponseEvent events to listeners that are
interested in those events. These objects can be fed with n CommandResponseListeners.
| Constructor Summary | |
CommandResponse()
Constructs a command response object. |
|
| Method Summary | |
void |
addCommandResponseListener(CommandResponseListener responseListener)
Adds a CommandResponseListener that is interested in events added to this CommandResponse. |
void |
addEvent(CommandResponseEvent event)
Dispatches the event to all CommandResponseListeners. |
void |
removeCommandReponseListener(CommandResponseListener responseListener)
Removes responseListener from this CommandResponse. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CommandResponse()
| Method Detail |
public void addEvent(CommandResponseEvent event)
CommandResponseListeners. If no listener has been registered, a warning will
be written to the log system.
event - The event that should be dispatched.public final void addCommandResponseListener(CommandResponseListener responseListener)
CommandResponseListener that is interested in events added to this CommandResponse.
responseListener - public final void removeCommandReponseListener(CommandResponseListener responseListener)
responseListener from this CommandResponse.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||