us.ihmc.utilities.io.streamingData
Class StreamingDataTCPClient
java.lang.Object
us.ihmc.utilities.io.streamingData.StreamingDataTCPClient
- All Implemented Interfaces:
- EstablishedAConnectionListener
public class StreamingDataTCPClient
- extends java.lang.Object
- implements EstablishedAConnectionListener
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamingDataTCPClient
public StreamingDataTCPClient(java.lang.String serverIPAddress,
int serverPort)
close
public void close()
isConnected
public boolean isConnected()
registerStreamingDataConsumer
public void registerStreamingDataConsumer(StreamingDataConsumer streamingDataConsumer)
connectToServer
public void connectToServer(boolean persistentlyStayConnected)
establishedAConnection
public void establishedAConnection(java.io.ObjectInputStream objectInputStream,
java.io.ObjectOutputStream objectOutputStream)
- Specified by:
establishedAConnection
in interface EstablishedAConnectionListener