Return-Path: Delivered-To: apmail-geronimo-activemq-commits-archive@www.apache.org Received: (qmail 10870 invoked from network); 26 Sep 2006 22:45:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Sep 2006 22:45:32 -0000 Received: (qmail 39150 invoked by uid 500); 26 Sep 2006 22:45:32 -0000 Delivered-To: apmail-geronimo-activemq-commits-archive@geronimo.apache.org Received: (qmail 39103 invoked by uid 500); 26 Sep 2006 22:45:32 -0000 Mailing-List: contact activemq-commits-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-commits@geronimo.apache.org Received: (qmail 39036 invoked by uid 99); 26 Sep 2006 22:45:32 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Sep 2006 15:45:32 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=chirino@apache.org; spf=permerror X-ASF-Spam-Status: No, hits=-9.4 required=5.0 tests=ALL_TRUSTED,NO_REAL_NAME Received-SPF: error (idunn.apache.osuosl.org: domain apache.org from 140.211.166.113 cause and error) Received: from [140.211.166.113] ([140.211.166.113:53963] helo=eris.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 26/10-19977-48DA9154 for ; Tue, 26 Sep 2006 15:45:24 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 191441A981D; Tue, 26 Sep 2006 15:45:22 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r450245 [1/4] - /incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ Date: Tue, 26 Sep 2006 22:45:19 -0000 To: activemq-commits@geronimo.apache.org From: chirino@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20060926224522.191441A981D@eris.apache.org> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: chirino Date: Tue Sep 26 15:45:16 2006 New Revision: 450245 URL: http://svn.apache.org/viewvc?view=rev&rev=450245 Log: Setting the eol style Modified: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQBytesMessageMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQDestinationMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQMapMessageMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQMessageMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQObjectMessageMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQQueueMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQStreamMessageMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempDestinationMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempQueueMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempTopicMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTextMessageMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTopicMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/BaseCommandMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/BrokerIdMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/BrokerInfoMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ConnectionControlMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ConnectionErrorMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ConnectionIdMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ConnectionInfoMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ConsumerControlMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ConsumerIdMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ConsumerInfoMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ControlCommandMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/DataArrayResponseMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/DataResponseMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/DestinationInfoMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/DiscoveryEventMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ExceptionResponseMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/FlushCommandMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/IntegerResponseMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/JournalQueueAckMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/JournalTopicAckMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/JournalTraceMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/JournalTransactionMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/KeepAliveInfoMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/LastPartialCommandMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/LocalTransactionIdMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/MarshallerFactory.hpp (props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/MessageAckMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/MessageDispatchMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/MessageDispatchNotificationMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/MessageIdMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/MessageMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/MessagePullMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/NetworkBridgeFilterMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/PartialCommandMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ProducerIdMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ProducerInfoMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/RemoveInfoMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/RemoveSubscriptionInfoMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ReplayCommandMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ResponseMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/SessionIdMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/SessionInfoMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ShutdownInfoMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/SubscriptionInfoMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/TransactionIdMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/TransactionInfoMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/WireFormatInfoMarshaller.hpp (contents, props changed) incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/XATransactionIdMarshaller.hpp (contents, props changed) Modified: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQBytesMessageMarshaller.hpp URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQBytesMessageMarshaller.hpp?view=diff&rev=450245&r1=450244&r2=450245 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQBytesMessageMarshaller.hpp (original) +++ incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQBytesMessageMarshaller.hpp Tue Sep 26 15:45:16 2006 @@ -1 +1,74 @@ -/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef ActiveMQBytesMessageMarshaller_hpp_ #define ActiveMQBytesMessageMarshaller_hpp_ #include #include "command/IDataStructure.hpp" /* we could cut this down - for now include all possib le headers */ #include "command/BrokerId.hpp" #include "command/ConnectionId.hpp" #include "command/ConsumerId.hpp" #include "command/ProducerId.hpp" #include "command/SessionId.hpp" #include "io/BinaryReader.hpp" #include "io/BinaryWriter.hpp" #include "command/ActiveMQMessageMarshaller.hpp" #include "util/ifr/p.hpp" #include "protocol/ProtocolFormat.hpp" namespace apache { namespace activemq { namespace client { namespace marshal { using namespace ifr ; using namespace apache::activemq::client::command; using namespace apache::activemq::client::io; using namespace apache::activemq::client::protocol; /* * */ class ActiveMQBytesMessageMarshaller : public ActiveMQMessageMarshaller { public: ActiveMQBytesMessageMarshaller() ; virtual ~ActiveMQBytesMessageMarshaller() ; virtual IDataStructure* createCommand() ; virtual char getDataStructureType() ; virtual void unmarshal(ProtocolFormat& wir eFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; } ; /* namespace */ } } } } #endif /*ActiveMQBytesMessageMarshaller_hpp_*/ \ No newline at end of file +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +#ifndef ActiveMQBytesMessageMarshaller_hpp_ +#define ActiveMQBytesMessageMarshaller_hpp_ + +#include + +#include "command/IDataStructure.hpp" + +/* we could cut this down - for now include all possible headers */ +#include "command/BrokerId.hpp" +#include "command/ConnectionId.hpp" +#include "command/ConsumerId.hpp" +#include "command/ProducerId.hpp" +#include "command/SessionId.hpp" + +#include "io/BinaryReader.hpp" +#include "io/BinaryWriter.hpp" + +#include "command/ActiveMQMessageMarshaller.hpp" +#include "util/ifr/p.hpp" + +#include "protocol/ProtocolFormat.hpp" + +namespace apache +{ + namespace activemq + { + namespace client + { + namespace marshal + { + using namespace ifr ; + using namespace apache::activemq::client::command; + using namespace apache::activemq::client::io; + using namespace apache::activemq::client::protocol; + +/* + * + */ +class ActiveMQBytesMessageMarshaller : public ActiveMQMessageMarshaller +{ +public: + ActiveMQBytesMessageMarshaller() ; + virtual ~ActiveMQBytesMessageMarshaller() ; + + virtual IDataStructure* createCommand() ; + virtual char getDataStructureType() ; + + virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; + virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; + virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; +} ; + +/* namespace */ + } + } + } +} +#endif /*ActiveMQBytesMessageMarshaller_hpp_*/ Propchange: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQBytesMessageMarshaller.hpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQDestinationMarshaller.hpp URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQDestinationMarshaller.hpp?view=diff&rev=450245&r1=450244&r2=450245 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQDestinationMarshaller.hpp (original) +++ incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQDestinationMarshaller.hpp Tue Sep 26 15:45:16 2006 @@ -1 +1,74 @@ -/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef ActiveMQDestinationMarshaller_hpp_ #define ActiveMQDestinationMarshaller_hpp_ #include #include "command/IDataStructure.hpp" /* we could cut this down - for now include all possible headers */ #include "command/BrokerId.hpp" #include "command/ConnectionId.hpp" #include "command/ConsumerId.hpp" #include "command/ProducerId.hpp" #include "command/SessionId.hpp" #include "io/BinaryReader.hpp" #include "io/BinaryWriter.hpp" #include "command/BaseDataStreamMarshaller.hpp" #include "util/ifr/p.hpp" #include "protocol/ProtocolFormat.hpp" namespace apache { namespace activemq { namespace client { namespace marshal { using namespace ifr ; using namespace apache::activemq::client::command; using namespace apache::activemq::client::io; using namespace apache::activemq::client::protocol; /* * */ class ActiveMQDestinationMarshaller : public BaseDataStreamMarshaller { public: ActiveMQDestinationMarshaller() ; virtual ~ActiveMQDestinationMarshaller() ; virtual IDataStructure* createCommand() ; virtual char getDataStructureType() ; virtual void unmarshal(ProtocolFormat& wireFormat , Object o, BinaryReader& dataIn, BooleanStream& bs) ; virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; } ; /* namespace */ } } } } #endif /*ActiveMQDestinationMarshaller_hpp_*/ \ No newline at end of file +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +#ifndef ActiveMQDestinationMarshaller_hpp_ +#define ActiveMQDestinationMarshaller_hpp_ + +#include + +#include "command/IDataStructure.hpp" + +/* we could cut this down - for now include all possible headers */ +#include "command/BrokerId.hpp" +#include "command/ConnectionId.hpp" +#include "command/ConsumerId.hpp" +#include "command/ProducerId.hpp" +#include "command/SessionId.hpp" + +#include "io/BinaryReader.hpp" +#include "io/BinaryWriter.hpp" + +#include "command/BaseDataStreamMarshaller.hpp" +#include "util/ifr/p.hpp" + +#include "protocol/ProtocolFormat.hpp" + +namespace apache +{ + namespace activemq + { + namespace client + { + namespace marshal + { + using namespace ifr ; + using namespace apache::activemq::client::command; + using namespace apache::activemq::client::io; + using namespace apache::activemq::client::protocol; + +/* + * + */ +class ActiveMQDestinationMarshaller : public BaseDataStreamMarshaller +{ +public: + ActiveMQDestinationMarshaller() ; + virtual ~ActiveMQDestinationMarshaller() ; + + virtual IDataStructure* createCommand() ; + virtual char getDataStructureType() ; + + virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; + virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; + virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; +} ; + +/* namespace */ + } + } + } +} +#endif /*ActiveMQDestinationMarshaller_hpp_*/ Propchange: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQDestinationMarshaller.hpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQMapMessageMarshaller.hpp URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQMapMessageMarshaller.hpp?view=diff&rev=450245&r1=450244&r2=450245 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQMapMessageMarshaller.hpp (original) +++ incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQMapMessageMarshaller.hpp Tue Sep 26 15:45:16 2006 @@ -1 +1,74 @@ -/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef ActiveMQMapMessageMarshaller_hpp_ #define ActiveMQMapMessageMarshaller_hpp_ #include #include "command/IDataStructure.hpp" /* we could cut this down - for now include all possible h eaders */ #include "command/BrokerId.hpp" #include "command/ConnectionId.hpp" #include "command/ConsumerId.hpp" #include "command/ProducerId.hpp" #include "command/SessionId.hpp" #include "io/BinaryReader.hpp" #include "io/BinaryWriter.hpp" #include "command/ActiveMQMessageMarshaller.hpp" #include "util/ifr/p.hpp" #include "protocol/ProtocolFormat.hpp" namespace apache { namespace activemq { namespace client { namespace marshal { using namespace ifr ; using namespace apache::activemq::client::command; using namespace apache::activemq::client::io; using namespace apache::activemq::client::protocol; /* * */ class ActiveMQMapMessageMarshaller : public ActiveMQMessageMarshaller { public: ActiveMQMapMessageMarshaller() ; virtual ~ActiveMQMapMessageMarshaller() ; virtual IDataStructure* createCommand() ; virtual char getDataStructureType() ; virtual void unmarshal(ProtocolFormat& wireFormat, O bject o, BinaryReader& dataIn, BooleanStream& bs) ; virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; } ; /* namespace */ } } } } #endif /*ActiveMQMapMessageMarshaller_hpp_*/ \ No newline at end of file +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +#ifndef ActiveMQMapMessageMarshaller_hpp_ +#define ActiveMQMapMessageMarshaller_hpp_ + +#include + +#include "command/IDataStructure.hpp" + +/* we could cut this down - for now include all possible headers */ +#include "command/BrokerId.hpp" +#include "command/ConnectionId.hpp" +#include "command/ConsumerId.hpp" +#include "command/ProducerId.hpp" +#include "command/SessionId.hpp" + +#include "io/BinaryReader.hpp" +#include "io/BinaryWriter.hpp" + +#include "command/ActiveMQMessageMarshaller.hpp" +#include "util/ifr/p.hpp" + +#include "protocol/ProtocolFormat.hpp" + +namespace apache +{ + namespace activemq + { + namespace client + { + namespace marshal + { + using namespace ifr ; + using namespace apache::activemq::client::command; + using namespace apache::activemq::client::io; + using namespace apache::activemq::client::protocol; + +/* + * + */ +class ActiveMQMapMessageMarshaller : public ActiveMQMessageMarshaller +{ +public: + ActiveMQMapMessageMarshaller() ; + virtual ~ActiveMQMapMessageMarshaller() ; + + virtual IDataStructure* createCommand() ; + virtual char getDataStructureType() ; + + virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; + virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; + virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; +} ; + +/* namespace */ + } + } + } +} +#endif /*ActiveMQMapMessageMarshaller_hpp_*/ Propchange: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQMapMessageMarshaller.hpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQMessageMarshaller.hpp URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQMessageMarshaller.hpp?view=diff&rev=450245&r1=450244&r2=450245 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQMessageMarshaller.hpp (original) +++ incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQMessageMarshaller.hpp Tue Sep 26 15:45:16 2006 @@ -1 +1,74 @@ -/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef ActiveMQMessageMarshaller_hpp_ #define ActiveMQMessageMarshaller_hpp_ #include #include "command/IDataStructure.hpp" /* we could cut this down - for now include all possible headers */ #include "command/BrokerId.hpp" #include "command/ConnectionId.hpp" #include "command/ConsumerId.hpp" #include "command/ProducerId.hpp" #include "command/SessionId.hpp" #include "io/BinaryReader.hpp" #include "io/BinaryWriter.hpp" #include "command/MessageMarshaller.hpp" #include "util/ifr/p.hpp" #include "protocol/ProtocolFormat.hpp" namespace apache { namespace activemq { namespace client { namespace marshal { using namespace ifr ; using namespace apache::activemq::client::command; using namespace apache::activemq::client::io; using namespace apache::activemq::client::protocol; /* * */ class ActiveMQMessageMarshaller : public MessageMarshaller { public: ActiveMQMessageMarshaller() ; virtual ~ActiveMQMessageMarshaller() ; virtual IDataStructure* createCommand() ; virtual char getDataStructureType() ; virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; } ; /* namespace */ } } } } #endif /*ActiveMQMessageMarshaller_hpp_*/ \ No newline at end of file +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +#ifndef ActiveMQMessageMarshaller_hpp_ +#define ActiveMQMessageMarshaller_hpp_ + +#include + +#include "command/IDataStructure.hpp" + +/* we could cut this down - for now include all possible headers */ +#include "command/BrokerId.hpp" +#include "command/ConnectionId.hpp" +#include "command/ConsumerId.hpp" +#include "command/ProducerId.hpp" +#include "command/SessionId.hpp" + +#include "io/BinaryReader.hpp" +#include "io/BinaryWriter.hpp" + +#include "command/MessageMarshaller.hpp" +#include "util/ifr/p.hpp" + +#include "protocol/ProtocolFormat.hpp" + +namespace apache +{ + namespace activemq + { + namespace client + { + namespace marshal + { + using namespace ifr ; + using namespace apache::activemq::client::command; + using namespace apache::activemq::client::io; + using namespace apache::activemq::client::protocol; + +/* + * + */ +class ActiveMQMessageMarshaller : public MessageMarshaller +{ +public: + ActiveMQMessageMarshaller() ; + virtual ~ActiveMQMessageMarshaller() ; + + virtual IDataStructure* createCommand() ; + virtual char getDataStructureType() ; + + virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; + virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; + virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; +} ; + +/* namespace */ + } + } + } +} +#endif /*ActiveMQMessageMarshaller_hpp_*/ Propchange: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQMessageMarshaller.hpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQObjectMessageMarshaller.hpp URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQObjectMessageMarshaller.hpp?view=diff&rev=450245&r1=450244&r2=450245 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQObjectMessageMarshaller.hpp (original) +++ incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQObjectMessageMarshaller.hpp Tue Sep 26 15:45:16 2006 @@ -1 +1,74 @@ -/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef ActiveMQObjectMessageMarshaller_hpp_ #define ActiveMQObjectMessageMarshaller_hpp_ #include #include "command/IDataStructure.hpp" /* we could cut this down - for now include all poss ible headers */ #include "command/BrokerId.hpp" #include "command/ConnectionId.hpp" #include "command/ConsumerId.hpp" #include "command/ProducerId.hpp" #include "command/SessionId.hpp" #include "io/BinaryReader.hpp" #include "io/BinaryWriter.hpp" #include "command/ActiveMQMessageMarshaller.hpp" #include "util/ifr/p.hpp" #include "protocol/ProtocolFormat.hpp" namespace apache { namespace activemq { namespace client { namespace marshal { using namespace ifr ; using namespace apache::activemq::client::command; using namespace apache::activemq::client::io; using namespace apache::activemq::client::protocol; /* * */ class ActiveMQObjectMessageMarshaller : public ActiveMQMessageMarshaller { public: ActiveMQObjectMessageMarshaller() ; virtual ~ActiveMQObjectMessageMarshaller() ; virtual IDataStructure* createCommand() ; virtual char getDataStructureType() ; virtual void unmarshal(ProtocolFormat & wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; } ; /* namespace */ } } } } #endif /*ActiveMQObjectMessageMarshaller_hpp_*/ \ No newline at end of file +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +#ifndef ActiveMQObjectMessageMarshaller_hpp_ +#define ActiveMQObjectMessageMarshaller_hpp_ + +#include + +#include "command/IDataStructure.hpp" + +/* we could cut this down - for now include all possible headers */ +#include "command/BrokerId.hpp" +#include "command/ConnectionId.hpp" +#include "command/ConsumerId.hpp" +#include "command/ProducerId.hpp" +#include "command/SessionId.hpp" + +#include "io/BinaryReader.hpp" +#include "io/BinaryWriter.hpp" + +#include "command/ActiveMQMessageMarshaller.hpp" +#include "util/ifr/p.hpp" + +#include "protocol/ProtocolFormat.hpp" + +namespace apache +{ + namespace activemq + { + namespace client + { + namespace marshal + { + using namespace ifr ; + using namespace apache::activemq::client::command; + using namespace apache::activemq::client::io; + using namespace apache::activemq::client::protocol; + +/* + * + */ +class ActiveMQObjectMessageMarshaller : public ActiveMQMessageMarshaller +{ +public: + ActiveMQObjectMessageMarshaller() ; + virtual ~ActiveMQObjectMessageMarshaller() ; + + virtual IDataStructure* createCommand() ; + virtual char getDataStructureType() ; + + virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; + virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; + virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; +} ; + +/* namespace */ + } + } + } +} +#endif /*ActiveMQObjectMessageMarshaller_hpp_*/ Propchange: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQObjectMessageMarshaller.hpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQQueueMarshaller.hpp URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQQueueMarshaller.hpp?view=diff&rev=450245&r1=450244&r2=450245 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQQueueMarshaller.hpp (original) +++ incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQQueueMarshaller.hpp Tue Sep 26 15:45:16 2006 @@ -1 +1,74 @@ -/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef ActiveMQQueueMarshaller_hpp_ #define ActiveMQQueueMarshaller_hpp_ #include #include "command/IDataStructure.hpp" /* we could cut this down - for now include all possible headers */ #include "command/BrokerId.hpp" #include "command/ConnectionId.hpp" #include "command/ConsumerId.hpp" #include "command/ProducerId.hpp" #include "command/SessionId.hpp" #include "io/BinaryReader.hpp" #include "io/BinaryWriter.hpp" #include "command/ActiveMQDestinationMarshaller.hpp" #include "util/ifr/p.hpp" #include "protocol/ProtocolFormat.hpp" namespace apache { namespace activemq { namespace client { namespace marshal { using namespace ifr ; using namespace apache::activemq::client::command; using namespace apache::activemq::client::io; using namespace apache::activemq::client::protocol; /* * */ class ActiveMQQueueMarshaller : public ActiveMQDestinationMarshaller { public: ActiveMQQueueMarshaller() ; virtual ~ActiveMQQueueMarshaller() ; virtual IDataStructure* createCommand() ; virtual char getDataStructureType() ; virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryRe ader& dataIn, BooleanStream& bs) ; virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; } ; /* namespace */ } } } } #endif /*ActiveMQQueueMarshaller_hpp_*/ \ No newline at end of file +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +#ifndef ActiveMQQueueMarshaller_hpp_ +#define ActiveMQQueueMarshaller_hpp_ + +#include + +#include "command/IDataStructure.hpp" + +/* we could cut this down - for now include all possible headers */ +#include "command/BrokerId.hpp" +#include "command/ConnectionId.hpp" +#include "command/ConsumerId.hpp" +#include "command/ProducerId.hpp" +#include "command/SessionId.hpp" + +#include "io/BinaryReader.hpp" +#include "io/BinaryWriter.hpp" + +#include "command/ActiveMQDestinationMarshaller.hpp" +#include "util/ifr/p.hpp" + +#include "protocol/ProtocolFormat.hpp" + +namespace apache +{ + namespace activemq + { + namespace client + { + namespace marshal + { + using namespace ifr ; + using namespace apache::activemq::client::command; + using namespace apache::activemq::client::io; + using namespace apache::activemq::client::protocol; + +/* + * + */ +class ActiveMQQueueMarshaller : public ActiveMQDestinationMarshaller +{ +public: + ActiveMQQueueMarshaller() ; + virtual ~ActiveMQQueueMarshaller() ; + + virtual IDataStructure* createCommand() ; + virtual char getDataStructureType() ; + + virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; + virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; + virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; +} ; + +/* namespace */ + } + } + } +} +#endif /*ActiveMQQueueMarshaller_hpp_*/ Propchange: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQQueueMarshaller.hpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQStreamMessageMarshaller.hpp URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQStreamMessageMarshaller.hpp?view=diff&rev=450245&r1=450244&r2=450245 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQStreamMessageMarshaller.hpp (original) +++ incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQStreamMessageMarshaller.hpp Tue Sep 26 15:45:16 2006 @@ -1 +1,74 @@ -/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef ActiveMQStreamMessageMarshaller_hpp_ #define ActiveMQStreamMessageMarshaller_hpp_ #include #include "command/IDataStructure.hpp" /* we could cut this down - for now include all poss ible headers */ #include "command/BrokerId.hpp" #include "command/ConnectionId.hpp" #include "command/ConsumerId.hpp" #include "command/ProducerId.hpp" #include "command/SessionId.hpp" #include "io/BinaryReader.hpp" #include "io/BinaryWriter.hpp" #include "command/ActiveMQMessageMarshaller.hpp" #include "util/ifr/p.hpp" #include "protocol/ProtocolFormat.hpp" namespace apache { namespace activemq { namespace client { namespace marshal { using namespace ifr ; using namespace apache::activemq::client::command; using namespace apache::activemq::client::io; using namespace apache::activemq::client::protocol; /* * */ class ActiveMQStreamMessageMarshaller : public ActiveMQMessageMarshaller { public: ActiveMQStreamMessageMarshaller() ; virtual ~ActiveMQStreamMessageMarshaller() ; virtual IDataStructure* createCommand() ; virtual char getDataStructureType() ; virtual void unmarshal(ProtocolFormat & wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; } ; /* namespace */ } } } } #endif /*ActiveMQStreamMessageMarshaller_hpp_*/ \ No newline at end of file +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +#ifndef ActiveMQStreamMessageMarshaller_hpp_ +#define ActiveMQStreamMessageMarshaller_hpp_ + +#include + +#include "command/IDataStructure.hpp" + +/* we could cut this down - for now include all possible headers */ +#include "command/BrokerId.hpp" +#include "command/ConnectionId.hpp" +#include "command/ConsumerId.hpp" +#include "command/ProducerId.hpp" +#include "command/SessionId.hpp" + +#include "io/BinaryReader.hpp" +#include "io/BinaryWriter.hpp" + +#include "command/ActiveMQMessageMarshaller.hpp" +#include "util/ifr/p.hpp" + +#include "protocol/ProtocolFormat.hpp" + +namespace apache +{ + namespace activemq + { + namespace client + { + namespace marshal + { + using namespace ifr ; + using namespace apache::activemq::client::command; + using namespace apache::activemq::client::io; + using namespace apache::activemq::client::protocol; + +/* + * + */ +class ActiveMQStreamMessageMarshaller : public ActiveMQMessageMarshaller +{ +public: + ActiveMQStreamMessageMarshaller() ; + virtual ~ActiveMQStreamMessageMarshaller() ; + + virtual IDataStructure* createCommand() ; + virtual char getDataStructureType() ; + + virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; + virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; + virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; +} ; + +/* namespace */ + } + } + } +} +#endif /*ActiveMQStreamMessageMarshaller_hpp_*/ Propchange: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQStreamMessageMarshaller.hpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempDestinationMarshaller.hpp URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempDestinationMarshaller.hpp?view=diff&rev=450245&r1=450244&r2=450245 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempDestinationMarshaller.hpp (original) +++ incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempDestinationMarshaller.hpp Tue Sep 26 15:45:16 2006 @@ -1 +1,74 @@ -/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef ActiveMQTempDestinationMarshaller_hpp_ #define ActiveMQTempDestinationMarshaller_hpp_ #include #include "command/IDataStructure.hpp" /* we could cut this down - for now include all possible headers */ #include "command/BrokerId.hpp" #include "command/ConnectionId.hpp" #include "command/ConsumerId.hpp" #include "command/ProducerId.hpp" #include "command/SessionId.hpp" #include "io/BinaryReader.hpp" #include "io/BinaryWriter.hpp" #include "command/ActiveMQDestinationMarshaller.hpp" #include "util/ifr/p.hpp" #include "protocol/ProtocolFormat.hpp" namespace apache { namespace activemq { namespace client { namespace marshal { using namespace ifr ; using namespace apache::activemq::client::command; using namespace apache::activemq::client::io; using namespace apache::activemq::client::protocol; /* * */ class ActiveMQTempDestinationMarshaller : public ActiveMQDestinationMarshaller { public: ActiveMQTempDestinationMarshaller() ; virtual ~ActiveMQTempDestinationMarshaller() ; virtual IDataStructure* createCommand() ; virtual char getDataStructureType() ; virtual void unmars hal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; } ; /* namespace */ } } } } #endif /*ActiveMQTempDestinationMarshaller_hpp_*/ \ No newline at end of file +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +#ifndef ActiveMQTempDestinationMarshaller_hpp_ +#define ActiveMQTempDestinationMarshaller_hpp_ + +#include + +#include "command/IDataStructure.hpp" + +/* we could cut this down - for now include all possible headers */ +#include "command/BrokerId.hpp" +#include "command/ConnectionId.hpp" +#include "command/ConsumerId.hpp" +#include "command/ProducerId.hpp" +#include "command/SessionId.hpp" + +#include "io/BinaryReader.hpp" +#include "io/BinaryWriter.hpp" + +#include "command/ActiveMQDestinationMarshaller.hpp" +#include "util/ifr/p.hpp" + +#include "protocol/ProtocolFormat.hpp" + +namespace apache +{ + namespace activemq + { + namespace client + { + namespace marshal + { + using namespace ifr ; + using namespace apache::activemq::client::command; + using namespace apache::activemq::client::io; + using namespace apache::activemq::client::protocol; + +/* + * + */ +class ActiveMQTempDestinationMarshaller : public ActiveMQDestinationMarshaller +{ +public: + ActiveMQTempDestinationMarshaller() ; + virtual ~ActiveMQTempDestinationMarshaller() ; + + virtual IDataStructure* createCommand() ; + virtual char getDataStructureType() ; + + virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; + virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; + virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; +} ; + +/* namespace */ + } + } + } +} +#endif /*ActiveMQTempDestinationMarshaller_hpp_*/ Propchange: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempDestinationMarshaller.hpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempQueueMarshaller.hpp URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempQueueMarshaller.hpp?view=diff&rev=450245&r1=450244&r2=450245 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempQueueMarshaller.hpp (original) +++ incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempQueueMarshaller.hpp Tue Sep 26 15:45:16 2006 @@ -1 +1,74 @@ -/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef ActiveMQTempQueueMarshaller_hpp_ #define ActiveMQTempQueueMarshaller_hpp_ #include #include "command/IDataStructure.hpp" /* we could cut this down - for now include all possible hea ders */ #include "command/BrokerId.hpp" #include "command/ConnectionId.hpp" #include "command/ConsumerId.hpp" #include "command/ProducerId.hpp" #include "command/SessionId.hpp" #include "io/BinaryReader.hpp" #include "io/BinaryWriter.hpp" #include "command/ActiveMQTempDestinationMarshaller.hpp" #include "util/ifr/p.hpp" #include "protocol/ProtocolFormat.hpp" namespace apache { namespace activemq { namespace client { namespace marshal { using namespace ifr ; using namespace apache::activemq::client::command; using namespace apache::activemq::client::io; using namespace apache::activemq::client::protocol; /* * */ class ActiveMQTempQueueMarshaller : public ActiveMQTempDestinationMarshaller { public: ActiveMQTempQueueMarshaller() ; virtual ~ActiveMQTempQueueMarshaller() ; virtual IDataStructure* createCommand() ; virtual char getDataStructureType() ; virtual void unmarshal(ProtocolFormat& wi reFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; } ; /* namespace */ } } } } #endif /*ActiveMQTempQueueMarshaller_hpp_*/ \ No newline at end of file +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +#ifndef ActiveMQTempQueueMarshaller_hpp_ +#define ActiveMQTempQueueMarshaller_hpp_ + +#include + +#include "command/IDataStructure.hpp" + +/* we could cut this down - for now include all possible headers */ +#include "command/BrokerId.hpp" +#include "command/ConnectionId.hpp" +#include "command/ConsumerId.hpp" +#include "command/ProducerId.hpp" +#include "command/SessionId.hpp" + +#include "io/BinaryReader.hpp" +#include "io/BinaryWriter.hpp" + +#include "command/ActiveMQTempDestinationMarshaller.hpp" +#include "util/ifr/p.hpp" + +#include "protocol/ProtocolFormat.hpp" + +namespace apache +{ + namespace activemq + { + namespace client + { + namespace marshal + { + using namespace ifr ; + using namespace apache::activemq::client::command; + using namespace apache::activemq::client::io; + using namespace apache::activemq::client::protocol; + +/* + * + */ +class ActiveMQTempQueueMarshaller : public ActiveMQTempDestinationMarshaller +{ +public: + ActiveMQTempQueueMarshaller() ; + virtual ~ActiveMQTempQueueMarshaller() ; + + virtual IDataStructure* createCommand() ; + virtual char getDataStructureType() ; + + virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; + virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; + virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; +} ; + +/* namespace */ + } + } + } +} +#endif /*ActiveMQTempQueueMarshaller_hpp_*/ Propchange: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempQueueMarshaller.hpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempTopicMarshaller.hpp URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempTopicMarshaller.hpp?view=diff&rev=450245&r1=450244&r2=450245 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempTopicMarshaller.hpp (original) +++ incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempTopicMarshaller.hpp Tue Sep 26 15:45:16 2006 @@ -1 +1,74 @@ -/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef ActiveMQTempTopicMarshaller_hpp_ #define ActiveMQTempTopicMarshaller_hpp_ #include #include "command/IDataStructure.hpp" /* we could cut this down - for now include all possible hea ders */ #include "command/BrokerId.hpp" #include "command/ConnectionId.hpp" #include "command/ConsumerId.hpp" #include "command/ProducerId.hpp" #include "command/SessionId.hpp" #include "io/BinaryReader.hpp" #include "io/BinaryWriter.hpp" #include "command/ActiveMQTempDestinationMarshaller.hpp" #include "util/ifr/p.hpp" #include "protocol/ProtocolFormat.hpp" namespace apache { namespace activemq { namespace client { namespace marshal { using namespace ifr ; using namespace apache::activemq::client::command; using namespace apache::activemq::client::io; using namespace apache::activemq::client::protocol; /* * */ class ActiveMQTempTopicMarshaller : public ActiveMQTempDestinationMarshaller { public: ActiveMQTempTopicMarshaller() ; virtual ~ActiveMQTempTopicMarshaller() ; virtual IDataStructure* createCommand() ; virtual char getDataStructureType() ; virtual void unmarshal(ProtocolFormat& wi reFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; } ; /* namespace */ } } } } #endif /*ActiveMQTempTopicMarshaller_hpp_*/ \ No newline at end of file +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +#ifndef ActiveMQTempTopicMarshaller_hpp_ +#define ActiveMQTempTopicMarshaller_hpp_ + +#include + +#include "command/IDataStructure.hpp" + +/* we could cut this down - for now include all possible headers */ +#include "command/BrokerId.hpp" +#include "command/ConnectionId.hpp" +#include "command/ConsumerId.hpp" +#include "command/ProducerId.hpp" +#include "command/SessionId.hpp" + +#include "io/BinaryReader.hpp" +#include "io/BinaryWriter.hpp" + +#include "command/ActiveMQTempDestinationMarshaller.hpp" +#include "util/ifr/p.hpp" + +#include "protocol/ProtocolFormat.hpp" + +namespace apache +{ + namespace activemq + { + namespace client + { + namespace marshal + { + using namespace ifr ; + using namespace apache::activemq::client::command; + using namespace apache::activemq::client::io; + using namespace apache::activemq::client::protocol; + +/* + * + */ +class ActiveMQTempTopicMarshaller : public ActiveMQTempDestinationMarshaller +{ +public: + ActiveMQTempTopicMarshaller() ; + virtual ~ActiveMQTempTopicMarshaller() ; + + virtual IDataStructure* createCommand() ; + virtual char getDataStructureType() ; + + virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; + virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; + virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; +} ; + +/* namespace */ + } + } + } +} +#endif /*ActiveMQTempTopicMarshaller_hpp_*/ Propchange: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTempTopicMarshaller.hpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTextMessageMarshaller.hpp URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTextMessageMarshaller.hpp?view=diff&rev=450245&r1=450244&r2=450245 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTextMessageMarshaller.hpp (original) +++ incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTextMessageMarshaller.hpp Tue Sep 26 15:45:16 2006 @@ -1 +1,74 @@ -/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef ActiveMQTextMessageMarshaller_hpp_ #define ActiveMQTextMessageMarshaller_hpp_ #include #include "command/IDataStructure.hpp" /* we could cut this down - for now include all possible headers */ #include "command/BrokerId.hpp" #include "command/ConnectionId.hpp" #include "command/ConsumerId.hpp" #include "command/ProducerId.hpp" #include "command/SessionId.hpp" #include "io/BinaryReader.hpp" #include "io/BinaryWriter.hpp" #include "command/ActiveMQMessageMarshaller.hpp" #include "util/ifr/p.hpp" #include "protocol/ProtocolFormat.hpp" namespace apache { namespace activemq { namespace client { namespace marshal { using namespace ifr ; using namespace apache::activemq::client::command; using namespace apache::activemq::client::io; using namespace apache::activemq::client::protocol; /* * */ class ActiveMQTextMessageMarshaller : public ActiveMQMessageMarshaller { public: ActiveMQTextMessageMarshaller() ; virtual ~ActiveMQTextMessageMarshaller() ; virtual IDataStructure* createCommand() ; virtual char getDataStructureType() ; virtual void unmarshal(ProtocolFormat& wireForm at, Object o, BinaryReader& dataIn, BooleanStream& bs) ; virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; } ; /* namespace */ } } } } #endif /*ActiveMQTextMessageMarshaller_hpp_*/ \ No newline at end of file +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +#ifndef ActiveMQTextMessageMarshaller_hpp_ +#define ActiveMQTextMessageMarshaller_hpp_ + +#include + +#include "command/IDataStructure.hpp" + +/* we could cut this down - for now include all possible headers */ +#include "command/BrokerId.hpp" +#include "command/ConnectionId.hpp" +#include "command/ConsumerId.hpp" +#include "command/ProducerId.hpp" +#include "command/SessionId.hpp" + +#include "io/BinaryReader.hpp" +#include "io/BinaryWriter.hpp" + +#include "command/ActiveMQMessageMarshaller.hpp" +#include "util/ifr/p.hpp" + +#include "protocol/ProtocolFormat.hpp" + +namespace apache +{ + namespace activemq + { + namespace client + { + namespace marshal + { + using namespace ifr ; + using namespace apache::activemq::client::command; + using namespace apache::activemq::client::io; + using namespace apache::activemq::client::protocol; + +/* + * + */ +class ActiveMQTextMessageMarshaller : public ActiveMQMessageMarshaller +{ +public: + ActiveMQTextMessageMarshaller() ; + virtual ~ActiveMQTextMessageMarshaller() ; + + virtual IDataStructure* createCommand() ; + virtual char getDataStructureType() ; + + virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; + virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; + virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; +} ; + +/* namespace */ + } + } + } +} +#endif /*ActiveMQTextMessageMarshaller_hpp_*/ Propchange: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTextMessageMarshaller.hpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTopicMarshaller.hpp URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTopicMarshaller.hpp?view=diff&rev=450245&r1=450244&r2=450245 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTopicMarshaller.hpp (original) +++ incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTopicMarshaller.hpp Tue Sep 26 15:45:16 2006 @@ -1 +1,74 @@ -/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef ActiveMQTopicMarshaller_hpp_ #define ActiveMQTopicMarshaller_hpp_ #include #include "command/IDataStructure.hpp" /* we could cut this down - for now include all possible headers */ #include "command/BrokerId.hpp" #include "command/ConnectionId.hpp" #include "command/ConsumerId.hpp" #include "command/ProducerId.hpp" #include "command/SessionId.hpp" #include "io/BinaryReader.hpp" #include "io/BinaryWriter.hpp" #include "command/ActiveMQDestinationMarshaller.hpp" #include "util/ifr/p.hpp" #include "protocol/ProtocolFormat.hpp" namespace apache { namespace activemq { namespace client { namespace marshal { using namespace ifr ; using namespace apache::activemq::client::command; using namespace apache::activemq::client::io; using namespace apache::activemq::client::protocol; /* * */ class ActiveMQTopicMarshaller : public ActiveMQDestinationMarshaller { public: ActiveMQTopicMarshaller() ; virtual ~ActiveMQTopicMarshaller() ; virtual IDataStructure* createCommand() ; virtual char getDataStructureType() ; virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryRe ader& dataIn, BooleanStream& bs) ; virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; } ; /* namespace */ } } } } #endif /*ActiveMQTopicMarshaller_hpp_*/ \ No newline at end of file +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +#ifndef ActiveMQTopicMarshaller_hpp_ +#define ActiveMQTopicMarshaller_hpp_ + +#include + +#include "command/IDataStructure.hpp" + +/* we could cut this down - for now include all possible headers */ +#include "command/BrokerId.hpp" +#include "command/ConnectionId.hpp" +#include "command/ConsumerId.hpp" +#include "command/ProducerId.hpp" +#include "command/SessionId.hpp" + +#include "io/BinaryReader.hpp" +#include "io/BinaryWriter.hpp" + +#include "command/ActiveMQDestinationMarshaller.hpp" +#include "util/ifr/p.hpp" + +#include "protocol/ProtocolFormat.hpp" + +namespace apache +{ + namespace activemq + { + namespace client + { + namespace marshal + { + using namespace ifr ; + using namespace apache::activemq::client::command; + using namespace apache::activemq::client::io; + using namespace apache::activemq::client::protocol; + +/* + * + */ +class ActiveMQTopicMarshaller : public ActiveMQDestinationMarshaller +{ +public: + ActiveMQTopicMarshaller() ; + virtual ~ActiveMQTopicMarshaller() ; + + virtual IDataStructure* createCommand() ; + virtual char getDataStructureType() ; + + virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; + virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; + virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; +} ; + +/* namespace */ + } + } + } +} +#endif /*ActiveMQTopicMarshaller_hpp_*/ Propchange: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/ActiveMQTopicMarshaller.hpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/BaseCommandMarshaller.hpp URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/BaseCommandMarshaller.hpp?view=diff&rev=450245&r1=450244&r2=450245 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/BaseCommandMarshaller.hpp (original) +++ incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/BaseCommandMarshaller.hpp Tue Sep 26 15:45:16 2006 @@ -1 +1,74 @@ -/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef BaseCommandMarshaller_hpp_ #define BaseCommandMarshaller_hpp_ #include #include "command/IDataStructure.hpp" /* we could cut this down - for now include all possible headers */ #inc lude "command/BrokerId.hpp" #include "command/ConnectionId.hpp" #include "command/ConsumerId.hpp" #include "command/ProducerId.hpp" #include "command/SessionId.hpp" #include "io/BinaryReader.hpp" #include "io/BinaryWriter.hpp" #include "command/BaseDataStreamMarshaller.hpp" #include "util/ifr/p.hpp" #include "protocol/ProtocolFormat.hpp" namespace apache { namespace activemq { namespace client { namespace marshal { using namespace ifr ; using namespace apache::activemq::client::command; using namespace apache::activemq::client::io; using namespace apache::activemq::client::protocol; /* * */ class BaseCommandMarshaller : public BaseDataStreamMarshaller { public: BaseCommandMarshaller() ; virtual ~BaseCommandMarshaller() ; virtual IDataStructure* createCommand() ; virtual char getDataStructureType() ; virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, Boolea nStream& bs) ; virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; } ; /* namespace */ } } } } #endif /*BaseCommandMarshaller_hpp_*/ \ No newline at end of file +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +#ifndef BaseCommandMarshaller_hpp_ +#define BaseCommandMarshaller_hpp_ + +#include + +#include "command/IDataStructure.hpp" + +/* we could cut this down - for now include all possible headers */ +#include "command/BrokerId.hpp" +#include "command/ConnectionId.hpp" +#include "command/ConsumerId.hpp" +#include "command/ProducerId.hpp" +#include "command/SessionId.hpp" + +#include "io/BinaryReader.hpp" +#include "io/BinaryWriter.hpp" + +#include "command/BaseDataStreamMarshaller.hpp" +#include "util/ifr/p.hpp" + +#include "protocol/ProtocolFormat.hpp" + +namespace apache +{ + namespace activemq + { + namespace client + { + namespace marshal + { + using namespace ifr ; + using namespace apache::activemq::client::command; + using namespace apache::activemq::client::io; + using namespace apache::activemq::client::protocol; + +/* + * + */ +class BaseCommandMarshaller : public BaseDataStreamMarshaller +{ +public: + BaseCommandMarshaller() ; + virtual ~BaseCommandMarshaller() ; + + virtual IDataStructure* createCommand() ; + virtual char getDataStructureType() ; + + virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; + virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; + virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; +} ; + +/* namespace */ + } + } + } +} +#endif /*BaseCommandMarshaller_hpp_*/ Propchange: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/BaseCommandMarshaller.hpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/BrokerIdMarshaller.hpp URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/BrokerIdMarshaller.hpp?view=diff&rev=450245&r1=450244&r2=450245 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/BrokerIdMarshaller.hpp (original) +++ incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/BrokerIdMarshaller.hpp Tue Sep 26 15:45:16 2006 @@ -1 +1,74 @@ -/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef BrokerIdMarshaller_hpp_ #define BrokerIdMarshaller_hpp_ #include #include "command/IDataStructure.hpp" /* we could cut this down - for now include all possible headers */ #include " command/BrokerId.hpp" #include "command/ConnectionId.hpp" #include "command/ConsumerId.hpp" #include "command/ProducerId.hpp" #include "command/SessionId.hpp" #include "io/BinaryReader.hpp" #include "io/BinaryWriter.hpp" #include "command/BaseDataStreamMarshaller.hpp" #include "util/ifr/p.hpp" #include "protocol/ProtocolFormat.hpp" namespace apache { namespace activemq { namespace client { namespace marshal { using namespace ifr ; using namespace apache::activemq::client::command; using namespace apache::activemq::client::io; using namespace apache::activemq::client::protocol; /* * */ class BrokerIdMarshaller : public BaseDataStreamMarshaller { public: BrokerIdMarshaller() ; virtual ~BrokerIdMarshaller() ; virtual IDataStructure* createCommand() ; virtual char getDataStructureType() ; virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; } ; /* namespace */ } } } } #endif /*BrokerIdMarshaller_hpp_*/ \ No newline at end of file +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +#ifndef BrokerIdMarshaller_hpp_ +#define BrokerIdMarshaller_hpp_ + +#include + +#include "command/IDataStructure.hpp" + +/* we could cut this down - for now include all possible headers */ +#include "command/BrokerId.hpp" +#include "command/ConnectionId.hpp" +#include "command/ConsumerId.hpp" +#include "command/ProducerId.hpp" +#include "command/SessionId.hpp" + +#include "io/BinaryReader.hpp" +#include "io/BinaryWriter.hpp" + +#include "command/BaseDataStreamMarshaller.hpp" +#include "util/ifr/p.hpp" + +#include "protocol/ProtocolFormat.hpp" + +namespace apache +{ + namespace activemq + { + namespace client + { + namespace marshal + { + using namespace ifr ; + using namespace apache::activemq::client::command; + using namespace apache::activemq::client::io; + using namespace apache::activemq::client::protocol; + +/* + * + */ +class BrokerIdMarshaller : public BaseDataStreamMarshaller +{ +public: + BrokerIdMarshaller() ; + virtual ~BrokerIdMarshaller() ; + + virtual IDataStructure* createCommand() ; + virtual char getDataStructureType() ; + + virtual void unmarshal(ProtocolFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ; + virtual int marshal1(ProtocolFormat& wireFormat, Object& o, BooleanStream& bs) ; + virtual void marshal2(ProtocolFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ; +} ; + +/* namespace */ + } + } + } +} +#endif /*BrokerIdMarshaller_hpp_*/ Propchange: incubator/activemq/activemq-cpp/trunk/openwire-cpp/src/marshal/BrokerIdMarshaller.hpp ------------------------------------------------------------------------------ svn:eol-style = native