18 #ifndef _ACTIVEMQ_WIREFORMAT_MARSHALAWARE_H_ 19 #define _ACTIVEMQ_WIREFORMAT_MARSHALAWARE_H_ 26 namespace wireformat {
44 virtual bool isMarshalAware()
const = 0;
55 virtual void beforeMarshal(
WireFormat* wireFormat) = 0;
66 virtual void afterMarshal(
WireFormat* wireFormat) = 0;
77 virtual void beforeUnmarshal(
WireFormat* wireFormat) = 0;
88 virtual void afterUnmarshal(
WireFormat* wireFormat) = 0;
103 virtual void setMarshaledForm(
WireFormat* wireFormat,
const std::vector<char>& data) = 0;
114 virtual std::vector<unsigned char> getMarshaledForm(
WireFormat* wireFormat) = 0;
#define AMQCPP_API
Definition: Config.h:30
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24