|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XNetListener
XNetListener provides the call-back interface for notification when a new XNet message arrives from the layout.
Note that the XNetListener 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(XNetMessage msg)
Member function that will be invoked by a XNetInterface implementation to forward a XNet message sent to the layout. |
void |
message(XNetReply msg)
Member function that will be invoked by a XNetInterface implementation to forward a XNet message from the layout. |
void |
notifyTimeout(XNetMessage msg)
Member function invoked by an XNetInterface implementation to notify * a sender that an outgoing message timed out and was dropped from the * queue. |
| Method Detail |
|---|
void message(XNetReply msg)
msg - The received XNet message. Note that this same object
may be presented to multiple users. It should not be
modified here.void message(XNetMessage msg)
msg - The received XNet message. Note that this same object
may be presented to multiple users. It should not be
modified here.void notifyTimeout(XNetMessage msg)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||