Package jmri.jmrix.lenz
Class XNetInitializationManager.XNetInitializer
- java.lang.Object
-
- jmri.jmrix.lenz.XNetInitializationManager.XNetInitializer
-
- All Implemented Interfaces:
java.util.EventListener
,AbstractMRListener
,XNetListener
- Enclosing class:
- XNetInitializationManager
protected class XNetInitializationManager.XNetInitializer extends java.lang.Object implements XNetListener
-
-
Constructor Summary
Constructors Constructor Description XNetInitializer(java.lang.Object Parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
void
message(XNetMessage l)
Member function that will be invoked by an XNetInterface implementation to forward an XNet message sent to the layout.void
message(XNetReply l)
Member function that will be invoked by an XNetInterface implementation to forward an 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.protected javax.swing.Timer
setupInitTimer()
-
-
-
Constructor Detail
-
XNetInitializer
public XNetInitializer(java.lang.Object Parent)
-
-
Method Detail
-
setupInitTimer
protected javax.swing.Timer setupInitTimer()
-
message
public void message(XNetReply l)
Description copied from interface:XNetListener
Member function that will be invoked by an XNetInterface implementation to forward an XNet message from the layout.- Specified by:
message
in interfaceXNetListener
- Parameters:
l
- The received XNet message. Note that this same object may be presented to multiple users. It should not be modified here.
-
message
public void message(XNetMessage l)
Description copied from interface:XNetListener
Member function that will be invoked by an XNetInterface implementation to forward an XNet message sent to the layout. Normally, this function will do nothing.- Specified by:
message
in interfaceXNetListener
- Parameters:
l
- The received XNet message. Note that this same object may be presented to multiple users. It should not be modified here.
-
notifyTimeout
public void notifyTimeout(XNetMessage msg)
Description copied from interface:XNetListener
Member function invoked by an XNetInterface implementation to notify a sender that an outgoing message timed out and was dropped from the queue.- Specified by:
notifyTimeout
in interfaceXNetListener
- Parameters:
msg
- message which has timed out.
-
dispose
public void dispose()
-
-