org.yamcs.artemis.TupleTranslator Maven / Gradle / Ivy
package org.yamcs.artemis;
import org.apache.activemq.artemis.api.core.client.ClientMessage;
import org.yamcs.yarch.Tuple;
import org.yamcs.yarch.TupleDefinition;
/**
* Translates between tuples and ActiveMQ messages.
*
**/
public interface TupleTranslator {
/**
* @return the original msg
*/
ClientMessage buildMessage(ClientMessage msg, Tuple tuple);
/**
*
* @param message
* @return
*/
Tuple buildTuple(ClientMessage message);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy