org.robokind.impl.motion.messaging
Class JMSRobotResponseSender.RobotResponseAdapter
java.lang.Object
org.robokind.impl.motion.messaging.JMSRobotResponseSender.RobotResponseAdapter
- All Implemented Interfaces:
- Adapter<RobotResponse,org.apache.avro.specific.SpecificRecordBase>
- Enclosing class:
- JMSRobotResponseSender
public static class JMSRobotResponseSender.RobotResponseAdapter
- extends Object
- implements Adapter<RobotResponse,org.apache.avro.specific.SpecificRecordBase>
Converts various RobotResponses to Avro Records.
Converts RobotDefinitionResponse to RobotDefinitionResponseRecord
Converts RobotStatusResponse to RobotStatusResponseRecord
Converts RobotPositionResponse to RobotPositionResponseRecord
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMSRobotResponseSender.RobotResponseAdapter
public JMSRobotResponseSender.RobotResponseAdapter()
adapt
public org.apache.avro.specific.SpecificRecordBase adapt(RobotResponse a)
- Specified by:
adapt in interface Adapter<RobotResponse,org.apache.avro.specific.SpecificRecordBase>
Copyright © 2011-2012. All Rights Reserved.