jmri.jmris
Class JmriServer
java.lang.Object
jmri.jmris.JmriServer
- Direct Known Subclasses:
- JmriSRCPServer, SimpleServer
public class JmriServer
- extends Object
This is the main JMRI Server implementation.
It starts a thread for each client.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
portNo
protected int portNo
connectSocket
protected ServerSocket connectSocket
service
protected ZeroConfService service
JmriServer
public JmriServer()
JmriServer
public JmriServer(int port)
instance
public static JmriServer instance()
start
public void start()
advertise
protected void advertise()
stop
public void stop()
handleClient
public void handleClient(DataInputStream inStream,
DataOutputStream outStream)
throws IOException
- Throws:
IOException
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: