org.robokind.impl.motion.messaging.command
Class PortableRobotResponseFactory
java.lang.Object
org.robokind.impl.motion.messaging.command.PortableRobotResponseFactory
- All Implemented Interfaces:
- RobotResponseFactory
public class PortableRobotResponseFactory
- extends Object
- implements RobotResponseFactory
- Author:
- Matthew Stevenson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortableRobotResponseFactory
public PortableRobotResponseFactory()
createHeader
public RobotResponse.RobotResponseHeader createHeader(Robot.Id robotId,
String sourceId,
String destinationId,
String commandType,
long requesTimestamp)
- Specified by:
createHeader in interface RobotResponseFactory
createDefinitionResponse
public RobotDefinitionResponse createDefinitionResponse(RobotResponse.RobotResponseHeader header,
Robot robot)
- Specified by:
createDefinitionResponse in interface RobotResponseFactory
createStatusResponse
public RobotResponse.RobotStatusResponse createStatusResponse(RobotResponse.RobotResponseHeader header,
boolean status)
- Specified by:
createStatusResponse in interface RobotResponseFactory
createPositionResponse
public RobotResponse.RobotPositionResponse createPositionResponse(RobotResponse.RobotResponseHeader header,
Robot.RobotPositionMap positions)
- Specified by:
createPositionResponse in interface RobotResponseFactory
Copyright © 2011-2012. All Rights Reserved.