org.robokind.impl.motion.messaging
Class PortableRobotResponse.Factory
java.lang.Object
org.robokind.impl.motion.messaging.PortableRobotResponse.Factory
- All Implemented Interfaces:
- RobotResponseFactory
- Enclosing class:
- PortableRobotResponse
public static class PortableRobotResponse.Factory
- extends Object
- implements RobotResponseFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortableRobotResponse.Factory
public PortableRobotResponse.Factory()
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.