activemq-cpp-3.3.0

src/main/activemq/wireformat/openwire/marshal/generated/MessagePullMarshaller.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_MESSAGEPULLMARSHALLER_H_
00019 #define _ACTIVEMQ_WIREFORMAT_OPENWIRE_MARSAHAL_GENERATED_MESSAGEPULLMARSHALLER_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 MessagePullMarshaller : public BaseCommandMarshaller {
00050     public:
00051 
00052         MessagePullMarshaller() {}
00053         virtual ~MessagePullMarshaller() {}
00054 
00055         virtual commands::DataStructure* createObject() const;
00056 
00057         virtual unsigned char getDataStructureType() const;
00058 
00059         virtual void tightUnmarshal( OpenWireFormat* wireFormat,
00060                                      commands::DataStructure* dataStructure,
00061                                      decaf::io::DataInputStream* dataIn,
00062                                      utils::BooleanStream* bs );
00063 
00064         virtual int tightMarshal1( OpenWireFormat* wireFormat,
00065                                    commands::DataStructure* dataStructure,
00066                                    utils::BooleanStream* bs );
00067 
00068         virtual void tightMarshal2( OpenWireFormat* wireFormat,
00069                                     commands::DataStructure* dataStructure,
00070                                     decaf::io::DataOutputStream* dataOut,
00071                                     utils::BooleanStream* bs );
00072 
00073         virtual void looseUnmarshal( OpenWireFormat* wireFormat,
00074                                      commands::DataStructure* dataStructure,
00075                                      decaf::io::DataInputStream* dataIn );
00076 
00077         virtual void looseMarshal( OpenWireFormat* wireFormat,
00078                                    commands::DataStructure* dataStructure,
00079                                    decaf::io::DataOutputStream* dataOut );
00080 
00081     };
00082 
00083 }}}}}
00084 
00085 #endif /*_ACTIVEMQ_WIREFORMAT_OPENWIRE_MARSAHAL_GENERATED_MESSAGEPULLMARSHALLER_H_*/
00086