org.mechio.impl.motion.messaging
Class PortableRobotRequest
java.lang.Object
org.mechio.impl.motion.messaging.PortableRobotRequest
- All Implemented Interfaces:
- RobotRequest
public class PortableRobotRequest
- extends java.lang.Object
- implements RobotRequest
- Author:
- Matthew Stevenson
| Fields inherited from interface org.mechio.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(RobotRequestRecord record)
PortableRobotRequest
public PortableRobotRequest(RobotRequest request)
PortableRobotRequest
public PortableRobotRequest(Robot.Id robotId,
java.lang.String sourceId,
java.lang.String destId,
java.lang.String requestType,
long timestampMillisecUTC,
java.lang.Integer requestIndex)
getRobotId
public Robot.Id getRobotId()
- Specified by:
getRobotId in interface RobotRequest
getSourceId
public java.lang.String getSourceId()
- Specified by:
getSourceId in interface RobotRequest
getDestinationId
public java.lang.String getDestinationId()
- Specified by:
getDestinationId in interface RobotRequest
getRequestType
public java.lang.String getRequestType()
- Specified by:
getRequestType in interface RobotRequest
getTimestampMillisecUTC
public long getTimestampMillisecUTC()
- Specified by:
getTimestampMillisecUTC in interface RobotRequest
getRequestIndex
public java.lang.Integer getRequestIndex()
- Specified by:
getRequestIndex in interface RobotRequest
getRecord
public RobotRequestRecord getRecord()
Copyright © 2011-2014. All Rights Reserved.