jmri.jmrix.lenz
Class XNetPowerManager
java.lang.Object
jmri.jmrix.lenz.XNetPowerManager
- All Implemented Interfaces:
- EventListener, AbstractMRListener, XNetListener, PowerManager
public class XNetPowerManager
- extends Object
- implements PowerManager, XNetListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XNetPowerManager
public XNetPowerManager(XNetSystemConnectionMemo memo)
getUserName
public String getUserName()
- Specified by:
getUserName in interface PowerManager
setPower
public void setPower(int v)
throws JmriException
- Specified by:
setPower in interface PowerManager
- Throws:
JmriException
getPower
public int getPower()
- Specified by:
getPower in interface PowerManager
dispose
public void dispose()
throws JmriException
- Specified by:
dispose in interface PowerManager
- Throws:
JmriException
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)
- Specified by:
addPropertyChangeListener in interface PowerManager
firePropertyChange
protected void firePropertyChange(String p,
Object old,
Object n)
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)
- Specified by:
removePropertyChangeListener in interface PowerManager
message
public void message(XNetReply m)
- Description copied from interface:
XNetListener
- Member function that will be invoked by a XNetInterface implementation
to forward a XNet message from the layout.
- Specified by:
message in interface XNetListener
- Parameters:
m - 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 a XNetInterface implementation
to forward a XNet message sent to the layout.
Normally, this function will do nothing.
- Specified by:
message in interface XNetListener
- 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 interface XNetListener
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: