com.yobotics.simulationconstructionset.util.inputdevices
Class RemoteInputDeviceServer
java.lang.Object
com.yobotics.simulationconstructionset.util.inputdevices.RemoteInputDeviceServer
- All Implemented Interfaces:
- CommandListener
public class RemoteInputDeviceServer
- extends java.lang.Object
- implements CommandListener
|
Field Summary |
static int |
PORT
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PORT
public static int PORT
RemoteInputDeviceServer
public RemoteInputDeviceServer(java.util.ArrayList<YoVariable> variables)
registerUserCommandListener
public void registerUserCommandListener(java.lang.String userCommandName,
UserCommandListener listener)
doHello
public void doHello(java.lang.String name,
java.lang.String info)
- Specified by:
doHello in interface CommandListener
doConnect
public void doConnect()
- Specified by:
doConnect in interface CommandListener
doConnected
public void doConnected(java.lang.String name,
int nvars,
java.lang.String[] vars,
float[] vals)
- Specified by:
doConnected in interface CommandListener
doSet
public void doSet(int index,
float value)
- Specified by:
doSet in interface CommandListener
doDisconnect
public void doDisconnect()
- Specified by:
doDisconnect in interface CommandListener
doUserCommand
public void doUserCommand(java.lang.String command)
- Specified by:
doUserCommand in interface CommandListener
doData
public void doData(int listid,
int nvars,
float[] data)
- Specified by:
doData in interface CommandListener
doTextMessage
public void doTextMessage(java.lang.String message)
- Specified by:
doTextMessage in interface CommandListener
doSend
public void doSend(int[] indices)
- Specified by:
doSend in interface CommandListener
doSending
public void doSending(int listid,
int[] indices)
- Specified by:
doSending in interface CommandListener
doUnsend
public void doUnsend(int[] indices)
- Specified by:
doUnsend in interface CommandListener
doUnsendAll
public void doUnsendAll()
- Specified by:
doUnsendAll in interface CommandListener
doPeriod
public void doPeriod(int periodmsec)
- Specified by:
doPeriod in interface CommandListener