public class PortableRobotRequest extends Object implements RobotRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
PortableRobotRequest.Factory |
static class |
PortableRobotRequest.MessageRecordAdapter |
static class |
PortableRobotRequest.RecordMessageAdapter |
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| Constructor and Description |
|---|
PortableRobotRequest(Robot.Id robotId,
String sourceId,
String destId,
String requestType,
long timestampMillisecUTC,
Integer requestIndex) |
PortableRobotRequest(RobotRequest request) |
PortableRobotRequest(RobotRequestRecord record) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDestinationId() |
RobotRequestRecord |
getRecord() |
Integer |
getRequestIndex() |
String |
getRequestType() |
Robot.Id |
getRobotId() |
String |
getSourceId() |
long |
getTimestampMillisecUTC() |
public PortableRobotRequest(RobotRequestRecord record)
public PortableRobotRequest(RobotRequest request)
public Robot.Id getRobotId()
getRobotId in interface RobotRequestpublic String getSourceId()
getSourceId in interface RobotRequestpublic String getDestinationId()
getDestinationId in interface RobotRequestpublic String getRequestType()
getRequestType in interface RobotRequestpublic long getTimestampMillisecUTC()
getTimestampMillisecUTC in interface RobotRequestpublic Integer getRequestIndex()
getRequestIndex in interface RobotRequestpublic RobotRequestRecord getRecord()
Copyright © 2011-2014. All Rights Reserved.