org.robokind.api.motion.messaging.messages
Interface RobotResponseFactory


public interface RobotResponseFactory

Author:
Matthew Stevenson

Method Summary
 RobotDefinitionResponse createDefinitionResponse(RobotResponse.RobotResponseHeader header, Robot robot)
           
 RobotResponse.RobotResponseHeader createHeader(Robot.Id robotId, String sourceId, String destinationId, String commandType, long requestTimestamp)
           
 RobotResponse.RobotPositionResponse createPositionResponse(RobotResponse.RobotResponseHeader header, Robot.RobotPositionMap positions)
           
 RobotResponse.RobotStatusResponse createStatusResponse(RobotResponse.RobotResponseHeader header, boolean status)
           
 

Method Detail

createHeader

RobotResponse.RobotResponseHeader createHeader(Robot.Id robotId,
                                               String sourceId,
                                               String destinationId,
                                               String commandType,
                                               long requestTimestamp)

createDefinitionResponse

RobotDefinitionResponse createDefinitionResponse(RobotResponse.RobotResponseHeader header,
                                                 Robot robot)

createStatusResponse

RobotResponse.RobotStatusResponse createStatusResponse(RobotResponse.RobotResponseHeader header,
                                                       boolean status)

createPositionResponse

RobotResponse.RobotPositionResponse createPositionResponse(RobotResponse.RobotResponseHeader header,
                                                           Robot.RobotPositionMap positions)


Copyright © 2011-2012. All Rights Reserved.