org.robokind.impl.motion.messaging
Class JMSRobotResponseSender.RobotResponseAdapter

java.lang.Object
  extended by 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


Constructor Summary
JMSRobotResponseSender.RobotResponseAdapter()
           
 
Method Summary
 org.apache.avro.specific.SpecificRecordBase adapt(RobotResponse a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSRobotResponseSender.RobotResponseAdapter

public JMSRobotResponseSender.RobotResponseAdapter()
Method Detail

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.