|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LocoNetListener
LocoNetListener provides the call-back interface for notification when a new LocoNet message arrives from the layout.
Note that the LocoNetListener implementation cannot assume that messages will be returned in any particular thread. We may eventually revisit this, as returning messages in the Swing GUI thread would result in some simplification of client code. We've not done that yet because we're not sure that deadlocks can be avoided in that case.
| Method Summary | |
|---|---|
void |
message(LocoNetMessage msg)
Member function that will be invoked by a LocoNetInterface implementation to forward a LocoNet message from the layout. |
| Method Detail |
|---|
void message(LocoNetMessage msg)
msg - The received LocoNet message. Note that this same object
may be presented to multiple users. It should not be
modified here.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||