org.robokind.impl.motion.messaging
Class PortableRobotResponse.Factory

java.lang.Object
  extended by org.robokind.impl.motion.messaging.PortableRobotResponse.Factory
All Implemented Interfaces:
org.robokind.api.motion.messaging.RobotResponseFactory
Enclosing class:
PortableRobotResponse

public static class PortableRobotResponse.Factory
extends Object
implements org.robokind.api.motion.messaging.RobotResponseFactory


Constructor Summary
PortableRobotResponse.Factory()
           
 
Method Summary
 org.robokind.api.motion.protocol.RobotDefinitionResponse createDefinitionResponse(org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader header, org.robokind.api.motion.Robot robot)
           
 org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader createHeader(org.robokind.api.motion.Robot.Id robotId, String sourceId, String destinationId, String commandType, long requesTimestamp)
           
 org.robokind.api.motion.protocol.RobotResponse.RobotPositionResponse createPositionResponse(org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader header, org.robokind.api.motion.Robot.RobotPositionMap positions)
           
 org.robokind.api.motion.protocol.RobotResponse.RobotStatusResponse createStatusResponse(org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader header, boolean status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortableRobotResponse.Factory

public PortableRobotResponse.Factory()
Method Detail

createHeader

public org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader createHeader(org.robokind.api.motion.Robot.Id robotId,
                                                                                       String sourceId,
                                                                                       String destinationId,
                                                                                       String commandType,
                                                                                       long requesTimestamp)
Specified by:
createHeader in interface org.robokind.api.motion.messaging.RobotResponseFactory

createDefinitionResponse

public org.robokind.api.motion.protocol.RobotDefinitionResponse createDefinitionResponse(org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader header,
                                                                                         org.robokind.api.motion.Robot robot)
Specified by:
createDefinitionResponse in interface org.robokind.api.motion.messaging.RobotResponseFactory

createStatusResponse

public org.robokind.api.motion.protocol.RobotResponse.RobotStatusResponse createStatusResponse(org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader header,
                                                                                               boolean status)
Specified by:
createStatusResponse in interface org.robokind.api.motion.messaging.RobotResponseFactory

createPositionResponse

public org.robokind.api.motion.protocol.RobotResponse.RobotPositionResponse createPositionResponse(org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader header,
                                                                                                   org.robokind.api.motion.Robot.RobotPositionMap positions)
Specified by:
createPositionResponse in interface org.robokind.api.motion.messaging.RobotResponseFactory


Copyright © 2011-2013. All Rights Reserved.