org.pilotix.common
Class Command
java.lang.Object
org.pilotix.common.Command
- All Implemented Interfaces:
- Transferable
public class Command
- extends java.lang.Object
- implements Transferable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Command
public Command()
set
public void set(Command aCommand)
setDirection
public void setDirection(Angle aDirection)
setAcceleration
public void setAcceleration(int anAcceleration)
setToolId
public void setToolId(int aToolId)
setBallId
public void setBallId(int anProjectileId)
getDirection
public Angle getDirection()
getAcceleration
public int getAcceleration()
getToolId
public int getToolId()
getBallId
public int getBallId()
read
public void read(MessageHandler mh)
- Description copied from interface:
Transferable
- Met à jour l'objet à partir d'une chaîne d'octets recupéré via un
messageHandler
- Specified by:
read
in interface Transferable
write
public void write(MessageHandler mh)
throws java.lang.Exception
- Description copied from interface:
Transferable
- envoie des octets représentant l'objet par le bié d'un messageHandler
- Specified by:
write
in interface Transferable
- Throws:
java.lang.Exception
Pilotix 2003-2013 - Stilisto : G.C.