org.robokind.impl.motion.messaging
Class PortableRobotResponseHeader

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

public class PortableRobotResponseHeader
extends Object
implements RobotResponse.RobotResponseHeader

Author:
Matthew Stevenson

Constructor Summary
PortableRobotResponseHeader(Robot.Id robotId, String sourceId, String destId, String commandType, long requestTimestampMillisecUTC, long responseTimestampMillisecUTC)
           
PortableRobotResponseHeader(RobotResponse.RobotResponseHeader header)
           
PortableRobotResponseHeader(RobotResponseHeaderRecord record)
           
 
Method Summary
 String getDestinationId()
           
 RobotResponseHeaderRecord getRecord()
           
 long getRequestTimestampMillisecUTC()
           
 String getRequestType()
           
 long getResponseTimestampMillisecUTC()
           
 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(RobotResponseHeaderRecord record)

PortableRobotResponseHeader

public PortableRobotResponseHeader(RobotResponse.RobotResponseHeader header)

PortableRobotResponseHeader

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

getRobotId

public Robot.Id getRobotId()
Specified by:
getRobotId in interface RobotResponse.RobotResponseHeader

getSourceId

public String getSourceId()
Specified by:
getSourceId in interface RobotResponse.RobotResponseHeader

getDestinationId

public String getDestinationId()
Specified by:
getDestinationId in interface RobotResponse.RobotResponseHeader

getRequestType

public String getRequestType()
Specified by:
getRequestType in interface RobotResponse.RobotResponseHeader

getRequestTimestampMillisecUTC

public long getRequestTimestampMillisecUTC()
Specified by:
getRequestTimestampMillisecUTC in interface RobotResponse.RobotResponseHeader

getResponseTimestampMillisecUTC

public long getResponseTimestampMillisecUTC()
Specified by:
getResponseTimestampMillisecUTC in interface RobotResponse.RobotResponseHeader

getRecord

public RobotResponseHeaderRecord getRecord()


Copyright © 2011-2013. All Rights Reserved.