Package jmri.jmris.srcp
Class JmriSRCPServer
- java.lang.Object
-
- jmri.jmris.JmriServer
-
- jmri.jmris.srcp.JmriSRCPServer
-
public class JmriSRCPServer extends JmriServer
This is an implementation of SRCP for JMRI.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.jmris.JmriServer
JmriServer.ClientListener
-
-
Field Summary
-
Fields inherited from class jmri.jmris.JmriServer
connectedClientThreads, connectSocket, portNo, service, shutDownTask, timeout
-
-
Constructor Summary
Constructors Constructor Description JmriSRCPServer()
JmriSRCPServer(int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
advertise()
void
handleClient(java.io.DataInputStream inStream, java.io.DataOutputStream outStream)
-
Methods inherited from class jmri.jmris.JmriServer
advertise, advertise, start, stop, stopClient
-
-
-
-
Constructor Detail
-
JmriSRCPServer
public JmriSRCPServer()
-
JmriSRCPServer
public JmriSRCPServer(int port)
-
-
Method Detail
-
advertise
protected void advertise()
- Overrides:
advertise
in classJmriServer
-
handleClient
public void handleClient(java.io.DataInputStream inStream, java.io.DataOutputStream outStream) throws java.io.IOException
- Overrides:
handleClient
in classJmriServer
- Throws:
java.io.IOException
-
-