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 voiddispose()voidmessage(XNetMessage l)Member function that will be invoked by an XNetInterface implementation to forward an XNet message sent to the layout.voidmessage(XNetReply l)Member function that will be invoked by an XNetInterface implementation to forward an XNet message from the layout.voidnotifyTimeout(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.TimersetupInitTimer()
-
-
-
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:XNetListenerMember function that will be invoked by an XNetInterface implementation to forward an XNet message from the layout.- Specified by:
messagein 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:XNetListenerMember 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:
messagein 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:XNetListenerMember function invoked by an XNetInterface implementation to notify a sender that an outgoing message timed out and was dropped from the queue.- Specified by:
notifyTimeoutin interfaceXNetListener- Parameters:
msg- message which has timed out.
-
dispose
public void dispose()
-
-