|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectus.ihmc.utilities.remote.ReflectiveTCPServer.ClientHandler
public class ReflectiveTCPServer.ClientHandler
Constructor Summary | |
---|---|
ReflectiveTCPServer.ClientHandler(java.net.Socket clientSocket)
ClientHandler sets the socket |
Method Summary | |
---|---|
java.lang.String |
getHost()
getHost |
int |
getPort()
getPort |
boolean |
isConnected()
isConnected |
void |
run()
run - while connected, continues to read the object input stream and adds all objects to the newObjects vector |
void |
start()
starts the client handler |
void |
stop()
stop - sets client handler to disconnected which will terminate the "run" while loop |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReflectiveTCPServer.ClientHandler(java.net.Socket clientSocket)
clientSocket
- the socket for the client handler to read fromMethod Detail |
---|
public void start()
public void stop()
public void run()
run
in interface java.lang.Runnable
public boolean isConnected()
public java.lang.String getHost()
public int getPort()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |