org.robokind.impl.motion.messaging
Class PortableRobotRequest
java.lang.Object
org.robokind.impl.motion.messaging.PortableRobotRequest
- All Implemented Interfaces:
- org.robokind.api.motion.protocol.RobotRequest
public class PortableRobotRequest
- extends Object
- implements org.robokind.api.motion.protocol.RobotRequest
- Author:
- Matthew Stevenson
Fields inherited from interface org.robokind.api.motion.protocol.RobotRequest |
CMD_CONNECT_ROBOT, CMD_DISABLE_JOINT, CMD_DISABLE_ROBOT, CMD_DISCONNECT_ROBOT, CMD_ENABLE_JOINT, CMD_ENABLE_ROBOT, CMD_GET_CONNECTION_STATUS, CMD_GET_CURRENT_POSITIONS, CMD_GET_DEFAULT_POSITIONS, CMD_GET_ENABLED_STATUS, CMD_GET_GOAL_POSITIONS, CMD_GET_JOINT_ENABLED_STATUS, CMD_GET_ROBOT_DEFINITION |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortableRobotRequest
public PortableRobotRequest(org.robokind.avrogen.motion.RobotRequestRecord record)
PortableRobotRequest
public PortableRobotRequest(org.robokind.api.motion.protocol.RobotRequest request)
PortableRobotRequest
public PortableRobotRequest(org.robokind.api.motion.Robot.Id robotId,
String sourceId,
String destId,
String requestType,
long timestampMillisecUTC,
Integer requestIndex)
getRobotId
public org.robokind.api.motion.Robot.Id getRobotId()
- Specified by:
getRobotId
in interface org.robokind.api.motion.protocol.RobotRequest
getSourceId
public String getSourceId()
- Specified by:
getSourceId
in interface org.robokind.api.motion.protocol.RobotRequest
getDestinationId
public String getDestinationId()
- Specified by:
getDestinationId
in interface org.robokind.api.motion.protocol.RobotRequest
getRequestType
public String getRequestType()
- Specified by:
getRequestType
in interface org.robokind.api.motion.protocol.RobotRequest
getTimestampMillisecUTC
public long getTimestampMillisecUTC()
- Specified by:
getTimestampMillisecUTC
in interface org.robokind.api.motion.protocol.RobotRequest
getRequestIndex
public Integer getRequestIndex()
- Specified by:
getRequestIndex
in interface org.robokind.api.motion.protocol.RobotRequest
getRecord
public org.robokind.avrogen.motion.RobotRequestRecord getRecord()
Copyright © 2011-2013. All Rights Reserved.