jmri.jmrix.loconet.locormi
Class LnMessageBuffer
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
jmri.jmrix.loconet.locormi.LnMessageBuffer
- All Implemented Interfaces:
- Serializable, Remote, EventListener, LocoNetListener, LnMessageBufferInterface
public class LnMessageBuffer
- extends UnicastRemoteObject
- implements LnMessageBufferInterface, LocoNetListener
- See Also:
- Serialized Form
LnMessageBuffer
public LnMessageBuffer()
throws RemoteException
- Throws:
RemoteException
enable
public void enable(int mask)
throws RemoteException
- Specified by:
enable in interface LnMessageBufferInterface
- Throws:
RemoteException
disable
public void disable(int mask)
throws RemoteException
- Specified by:
disable in interface LnMessageBufferInterface
- Throws:
RemoteException
clear
public void clear()
throws RemoteException
- Specified by:
clear in interface LnMessageBufferInterface
- Throws:
RemoteException
message
public void message(LocoNetMessage msg)
- Description copied from interface:
LocoNetListener
- Member function that will be invoked by a LocoNetInterface implementation
to forward a LocoNet message from the layout.
- Specified by:
message in interface LocoNetListener
- Parameters:
msg - The received LocoNet message. Note that this same object
may be presented to multiple users. It should not be
modified here.
getMessages
public Object[] getMessages(long timeout)
- Specified by:
getMessages in interface LnMessageBufferInterface
sendLocoNetMessage
public void sendLocoNetMessage(LocoNetMessage m)
- Specified by:
sendLocoNetMessage in interface LnMessageBufferInterface
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: