activemq-cpp-3.3.0

src/main/activemq/wireformat/openwire/marshal/generated/MessageMarshaller.h

Go to the documentation of this file.
00001 /*
00002  * Licensed to the Apache Software Foundation (ASF) under one or more
00003  * contributor license agreements.  See the NOTICE file distributed with
00004  * this work for additional information regarding copyright ownership.
00005  * The ASF licenses this file to You under the Apache License, Version 2.0
00006  * (the "License"); you may not use this file except in compliance with
00007  * the License.  You may obtain a copy of the License at
00008  *
00009  * http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 #ifndef _ACTIVEMQ_WIREFORMAT_OPENWIRE_MARSAHAL_GENERATED_MESSAGEMARSHALLER_H_
00019 #define _ACTIVEMQ_WIREFORMAT_OPENWIRE_MARSAHAL_GENERATED_MESSAGEMARSHALLER_H_
00020 
00021 // Turn off warning message for ignored exception specification
00022 #ifdef _MSC_VER
00023 #pragma warning( disable : 4290 )
00024 #endif
00025 
00026 #include <activemq/wireformat/openwire/marshal/generated/BaseCommandMarshaller.h>
00027 
00028 #include <decaf/io/DataInputStream.h>
00029 #include <decaf/io/DataOutputStream.h>
00030 #include <decaf/io/IOException.h>
00031 #include <activemq/util/Config.h>
00032 #include <activemq/commands/DataStructure.h>
00033 #include <activemq/wireformat/openwire/OpenWireFormat.h>
00034 #include <activemq/wireformat/openwire/utils/BooleanStream.h>
00035 
00036 namespace activemq{
00037 namespace wireformat{
00038 namespace openwire{
00039 namespace marshal{
00040 namespace generated{
00041 
00049     class AMQCPP_API MessageMarshaller : public BaseCommandMarshaller {
00050     public:
00051 
00052         MessageMarshaller() {}
00053         virtual ~MessageMarshaller() {}
00054 
00055         virtual void tightUnmarshal( OpenWireFormat* wireFormat,
00056                                      commands::DataStructure* dataStructure,
00057                                      decaf::io::DataInputStream* dataIn,
00058                                      utils::BooleanStream* bs );
00059 
00060         virtual int tightMarshal1( OpenWireFormat* wireFormat,
00061                                    commands::DataStructure* dataStructure,
00062                                    utils::BooleanStream* bs );
00063 
00064         virtual void tightMarshal2( OpenWireFormat* wireFormat,
00065                                     commands::DataStructure* dataStructure,
00066                                     decaf::io::DataOutputStream* dataOut,
00067                                     utils::BooleanStream* bs );
00068 
00069         virtual void looseUnmarshal( OpenWireFormat* wireFormat,
00070                                      commands::DataStructure* dataStructure,
00071                                      decaf::io::DataInputStream* dataIn );
00072 
00073         virtual void looseMarshal( OpenWireFormat* wireFormat,
00074                                    commands::DataStructure* dataStructure,
00075                                    decaf::io::DataOutputStream* dataOut );
00076 
00077     };
00078 
00079 }}}}}
00080 
00081 #endif /*_ACTIVEMQ_WIREFORMAT_OPENWIRE_MARSAHAL_GENERATED_MESSAGEMARSHALLER_H_*/
00082