com.yobotics.simulationconstructionset.robotcommprotocol
Class GUISideProtocolListener

java.lang.Object
  extended by com.yobotics.simulationconstructionset.robotcommprotocol.GUISideProtocolListener
All Implemented Interfaces:
UserCommandNetworkReader

public class GUISideProtocolListener
extends java.lang.Object
implements UserCommandNetworkReader


Constructor Summary
GUISideProtocolListener(java.io.DataInputStream dataIn, GUISideAbstractCommandListener commandListener)
           
GUISideProtocolListener(java.io.DataInputStream dataIn, GUISideAbstractCommandListener commandListener, java.util.ArrayList<NewDataListener> newDataListeners)
           
 
Method Summary
 void processInput()
           
 double readDouble()
           
 float readFloat()
           
 int readInt()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUISideProtocolListener

public GUISideProtocolListener(java.io.DataInputStream dataIn,
                               GUISideAbstractCommandListener commandListener)

GUISideProtocolListener

public GUISideProtocolListener(java.io.DataInputStream dataIn,
                               GUISideAbstractCommandListener commandListener,
                               java.util.ArrayList<NewDataListener> newDataListeners)
Method Detail

processInput

public void processInput()
                  throws java.io.IOException
Throws:
java.io.IOException

readInt

public int readInt()
            throws java.io.IOException
Specified by:
readInt in interface UserCommandNetworkReader
Throws:
java.io.IOException

readFloat

public float readFloat()
                throws java.io.IOException
Specified by:
readFloat in interface UserCommandNetworkReader
Throws:
java.io.IOException

readDouble

public double readDouble()
                  throws java.io.IOException
Specified by:
readDouble in interface UserCommandNetworkReader
Throws:
java.io.IOException