Package jmri.jmris
Class JmriServer.ClientListener
- java.lang.Object
-
- jmri.jmris.JmriServer.ClientListener
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- JmriServer
protected class JmriServer.ClientListener extends java.lang.Object implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.net.Socket
clientSocket
(package private) java.lang.Thread
clientThread
(package private) java.io.DataInputStream
inStream
(package private) java.io.DataOutputStream
outStream
-
Constructor Summary
Constructors Constructor Description ClientListener(java.net.Socket socket)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
void
start()
void
stop(JmriServer server)
-
-
-
Field Detail
-
clientSocket
java.net.Socket clientSocket
-
inStream
java.io.DataInputStream inStream
-
outStream
java.io.DataOutputStream outStream
-
clientThread
java.lang.Thread clientThread
-
-
Constructor Detail
-
ClientListener
public ClientListener(java.net.Socket socket)
-
-
Method Detail
-
start
public void start()
-
stop
public void stop(JmriServer server)
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
-