|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageSource
A MessageSource constructs a Message
when the menu item is selected, and
processes any object returned by the message recipient.
Method Summary | |
---|---|
org.votech.plastic.outgoing.messages.Message |
getMessage(org.votech.plastic.managers.PlasticApplication destination)
Construct a message to be sent when the menu is activated. |
void |
processReturnValue(org.votech.plastic.managers.PlasticApplication sender,
java.lang.Object result)
Perform any post-processing on the message response. |
void |
processReturnValues(java.util.Map<org.votech.plastic.managers.PlasticApplication,java.lang.Object> result)
Perform any post-processing on the message response if we broadcast to all. |
Method Detail |
---|
org.votech.plastic.outgoing.messages.Message getMessage(org.votech.plastic.managers.PlasticApplication destination)
destination
- the destination of the message - could be useful to some MessageSources. Could be null if the message is to be broadcast.
void processReturnValue(org.votech.plastic.managers.PlasticApplication sender, java.lang.Object result)
sender
- who sent us thisresult
- the result!void processReturnValues(java.util.Map<org.votech.plastic.managers.PlasticApplication,java.lang.Object> result)
result
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |