activemq-cpp-3.9.5
DataStreamMarshaller.h
Go to the documentation of this file.
1
17
18#ifndef _ACTIVEMQ_WIREFORMAT_OPENWIRE_MARSHAL_DATASTREAMMARSHALLER_H_
19#define _ACTIVEMQ_WIREFORMAT_OPENWIRE_MARSHAL_DATASTREAMMARSHALLER_H_
20
28
29namespace activemq {
30namespace wireformat {
31namespace openwire {
32namespace marshal {
33
38 public:
39
41
46 virtual unsigned char getDataStructureType() const = 0;
47
54
67 virtual int tightMarshal1(OpenWireFormat* format,
69 utils::BooleanStream* bs) = 0;
70
79 virtual void tightMarshal2(OpenWireFormat* format,
82 utils::BooleanStream* bs) = 0;
83
92 virtual void tightUnmarshal(OpenWireFormat* format,
95 utils::BooleanStream* bs) = 0;
96
104 virtual void looseMarshal(OpenWireFormat* format,
107
115 virtual void looseUnmarshal(OpenWireFormat* format,
118
119 };
120
121}}}}
122
123#endif /*_ACTIVEMQ_WIREFORMAT_OPENWIRE_MARSHAL_DATASTREAMMARSHALLER_H_*/
#define AMQCPP_API
Definition Config.h:30
Definition DataStructure.h:27
Base class for all classes that marshal commands for Openwire.
Definition DataStreamMarshaller.h:37
virtual void looseUnmarshal(OpenWireFormat *format, commands::DataStructure *command, decaf::io::DataInputStream *dis)=0
Loose Un-marhsal to the given stream.
virtual int tightMarshal1(OpenWireFormat *format, commands::DataStructure *command, utils::BooleanStream *bs)=0
Tight Marhsal to the given stream.
virtual void tightMarshal2(OpenWireFormat *format, commands::DataStructure *command, decaf::io::DataOutputStream *ds, utils::BooleanStream *bs)=0
Tight Marhsal to the given stream.
virtual void looseMarshal(OpenWireFormat *format, commands::DataStructure *command, decaf::io::DataOutputStream *ds)=0
Tight Marhsal to the given stream.
virtual commands::DataStructure * createObject() const =0
Creates a new instance of the class that this class is a marshaling director for.
virtual unsigned char getDataStructureType() const =0
Gets the DataStructureType that this class marshals/unmarshals.
virtual void tightUnmarshal(OpenWireFormat *format, commands::DataStructure *command, decaf::io::DataInputStream *dis, utils::BooleanStream *bs)=0
Tight Un-marhsal to the given stream.
Manages the writing and reading of boolean data streams to and from a data source such as a DataInput...
Definition BooleanStream.h:49
A data input stream lets an application read primitive Java data types from an underlying input strea...
Definition DataInputStream.h:46
A data output stream lets an application write primitive Java data types to an output stream in a por...
Definition DataOutputStream.h:34
Definition BaseDataStreamMarshaller.h:31
Definition BaseDataStreamMarshaller.h:30
Definition BaseDataStructure.h:28
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24