jmri.jmrix.loconet.loconetovertcp
Class ClientRxHandler
java.lang.Object
java.lang.Thread
jmri.jmrix.loconet.loconetovertcp.ClientRxHandler
- All Implemented Interfaces:
- Runnable, EventListener, LocoNetListener
public class ClientRxHandler
- extends Thread
- implements LocoNetListener
Implementation of the LocoNetOverTcp LbServer Server Protocol
- Author:
- Alex Shepherd Copyright (C) 2006
|
Method Summary |
void |
close()
|
void |
message(LocoNetMessage msg)
Member function that will be invoked by a LocoNetInterface implementation
to forward a LocoNet message from the layout. |
void |
run()
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
ClientRxHandler
public ClientRxHandler(String newRemoteAddress,
Socket newSocket)
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
close
public void close()
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.
Copyright © 1997 - 2009 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: