|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MulticasterUI
Interface that is implemented by the GUI that is used by a Multicaster for deliveries and debug messages to the GUI.
Method Summary | |
---|---|
void |
debug(java.lang.String string)
Add a debug message to the GUI |
void |
deliver(int from,
java.lang.String message)
Deliver a message to the UI (without any additional information) |
void |
deliver(int from,
java.lang.String message,
java.lang.String info)
Deliver a message to the UI |
void |
enableSending()
Enables the GUI to start sending messages when all the communications are set up. |
Method Detail |
---|
void deliver(int from, java.lang.String message, java.lang.String info)
from
- The sender of the messagemessage
- The message to be deliveredinfo
- Additional information to be shown to the user about the message. Allowed to
be null
if no additonal information is to be shown.void deliver(int from, java.lang.String message)
from
- The sender of the messagemessage
- The message to be deliveredvoid debug(java.lang.String string)
string
- The debug message to be shownvoid enableSending()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |