org.robokind.impl.motion.messaging
Class PortableRobotResponseHeader

java.lang.Object
  extended by org.robokind.impl.motion.messaging.PortableRobotResponseHeader
All Implemented Interfaces:
org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader

public class PortableRobotResponseHeader
extends Object
implements org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader

Author:
Matthew Stevenson

Constructor Summary
PortableRobotResponseHeader(org.robokind.api.motion.Robot.Id robotId, String sourceId, String destId, String commandType, long requestTimestampMillisecUTC, long responseTimestampMillisecUTC)
           
PortableRobotResponseHeader(org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader header)
           
PortableRobotResponseHeader(org.robokind.avrogen.motion.RobotResponseHeaderRecord record)
           
 
Method Summary
 String getDestinationId()
           
 org.robokind.avrogen.motion.RobotResponseHeaderRecord getRecord()
           
 long getRequestTimestampMillisecUTC()
           
 String getRequestType()
           
 long getResponseTimestampMillisecUTC()
           
 org.robokind.api.motion.Robot.Id getRobotId()
           
 String getSourceId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortableRobotResponseHeader

public PortableRobotResponseHeader(org.robokind.avrogen.motion.RobotResponseHeaderRecord record)

PortableRobotResponseHeader

public PortableRobotResponseHeader(org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader header)

PortableRobotResponseHeader

public PortableRobotResponseHeader(org.robokind.api.motion.Robot.Id robotId,
                                   String sourceId,
                                   String destId,
                                   String commandType,
                                   long requestTimestampMillisecUTC,
                                   long responseTimestampMillisecUTC)
Method Detail

getRobotId

public org.robokind.api.motion.Robot.Id getRobotId()
Specified by:
getRobotId in interface org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader

getSourceId

public String getSourceId()
Specified by:
getSourceId in interface org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader

getDestinationId

public String getDestinationId()
Specified by:
getDestinationId in interface org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader

getRequestType

public String getRequestType()
Specified by:
getRequestType in interface org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader

getRequestTimestampMillisecUTC

public long getRequestTimestampMillisecUTC()
Specified by:
getRequestTimestampMillisecUTC in interface org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader

getResponseTimestampMillisecUTC

public long getResponseTimestampMillisecUTC()
Specified by:
getResponseTimestampMillisecUTC in interface org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader

getRecord

public org.robokind.avrogen.motion.RobotResponseHeaderRecord getRecord()


Copyright © 2011-2013. All Rights Reserved.