You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2006/07/28 10:22:55 UTC
svn commit: r426431 [10/14] - in /incubator/activemq/branches/activemq-4.0:
activemq-core/src/gram/script/
activemq-core/src/main/java/org/apache/activemq/kaha/impl/
activemq-core/src/main/java/org/apache/activemq/openwire/v1/
activemq-core/src/test/ja...
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IConnectionFactory.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IConnectionFactory.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IConnectionFactory.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IConnectionFactory.hpp Fri Jul 28 01:22:48 2006
@@ -1,44 +1,44 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_IConnectionFactory_hpp_
-#define Cms_IConnectionFactory_hpp_
-
-#include <string>
-#include "cms/IConnection.hpp"
-#include "activemq/ConnectionException.hpp"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace cms
- {
- using namespace ifr;
-
-/*
- *
- */
-struct IConnectionFactory : Interface
-{
- virtual p<IConnection> createConnection() throw (ConnectionException) = 0 ;
- virtual p<IConnection> createConnection(const char* username, const char* password) throw (ConnectionException) = 0 ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_IConnectionFactory_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_IConnectionFactory_hpp_
+#define Cms_IConnectionFactory_hpp_
+
+#include <string>
+#include "cms/IConnection.hpp"
+#include "activemq/ConnectionException.hpp"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace cms
+ {
+ using namespace ifr;
+
+/*
+ *
+ */
+struct IConnectionFactory : Interface
+{
+ virtual p<IConnection> createConnection() throw (ConnectionException) = 0 ;
+ virtual p<IConnection> createConnection(const char* username, const char* password) throw (ConnectionException) = 0 ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_IConnectionFactory_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IConnectionFactory.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IDestination.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IDestination.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IDestination.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IDestination.hpp Fri Jul 28 01:22:48 2006
@@ -1,39 +1,39 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_IDestination_hpp_
-#define Cms_IDestination_hpp_
-
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace cms
- {
- using namespace ifr;
-
-/*
- * Top interface for all message destinations.
- */
-struct IDestination : Interface
-{
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_IDestination_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_IDestination_hpp_
+#define Cms_IDestination_hpp_
+
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace cms
+ {
+ using namespace ifr;
+
+/*
+ * Top interface for all message destinations.
+ */
+struct IDestination : Interface
+{
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_IDestination_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IDestination.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IExceptionListener.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IExceptionListener.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IExceptionListener.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IExceptionListener.hpp Fri Jul 28 01:22:48 2006
@@ -1,42 +1,42 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_IExceptionListener_hpp_
-#define Cms_IExceptionListener_hpp_
-
-#include <exception>
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace cms
- {
- using namespace ifr;
- using namespace std;
-
-/*
- *
- */
-struct IExceptionListener : Interface
-{
- virtual void onException(exception& error) = 0 ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_IExceptionListener_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_IExceptionListener_hpp_
+#define Cms_IExceptionListener_hpp_
+
+#include <exception>
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace cms
+ {
+ using namespace ifr;
+ using namespace std;
+
+/*
+ *
+ */
+struct IExceptionListener : Interface
+{
+ virtual void onException(exception& error) = 0 ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_IExceptionListener_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IExceptionListener.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMapMessage.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMapMessage.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMapMessage.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMapMessage.hpp Fri Jul 28 01:22:48 2006
@@ -1,48 +1,48 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_IMapMessage_hpp_
-#define Cms_IMapMessage_hpp_
-
-// Turn off warning message for ignored exception specification
-#ifdef _MSC_VER
-#pragma warning( disable : 4290 )
-#endif
-
-#include "cms/IMessage.hpp"
-#include "ppr/util/MapItemHolder.hpp"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace cms
- {
- using namespace apache::ppr::util;
- using namespace ifr;
-
-/*
- *
- */
-struct IMapMessage : IMessage
-{
- virtual p<PropertyMap> getBody() = 0 ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_IMapMessage_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_IMapMessage_hpp_
+#define Cms_IMapMessage_hpp_
+
+// Turn off warning message for ignored exception specification
+#ifdef _MSC_VER
+#pragma warning( disable : 4290 )
+#endif
+
+#include "cms/IMessage.hpp"
+#include "ppr/util/MapItemHolder.hpp"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace cms
+ {
+ using namespace apache::ppr::util;
+ using namespace ifr;
+
+/*
+ *
+ */
+struct IMapMessage : IMessage
+{
+ virtual p<PropertyMap> getBody() = 0 ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_IMapMessage_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMapMessage.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessage.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessage.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessage.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessage.hpp Fri Jul 28 01:22:48 2006
@@ -1,111 +1,111 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_IMessage_hpp_
-#define Cms_IMessage_hpp_
-
-#include <string>
-#include "cms/IDestination.hpp"
-#include "ppr/util/MapItemHolder.hpp"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace cms
- {
- using namespace apache::ppr::util;
- using namespace ifr;
- using namespace std;
-
-/*
- * Represents a message either to be sent to a message broker
- * or received from a message broker.
- */
-struct IMessage : Interface
-{
- // If using client acknowledgement mode on the session then
- // this method will acknowledge that the message has been
- // processed correctly.
- virtual void acknowledge() = 0 ;
-
- // Provides access to the message properties (headers).
- virtual p<PropertyMap> getProperties() = 0 ;
-
- // The correlation ID used to correlate messages from
- // conversations or long running business processes.
- virtual p<string> getJMSCorrelationID() = 0 ;
- virtual void setJMSCorrelationID(const char* correlationId) = 0 ;
-
- // The destination of the message.
- virtual p<IDestination> getJMSDestination() = 0 ;
-
- // The time in milliseconds that this message should expire.
- virtual long long getJMSExpiration() = 0 ;
- virtual void setJMSExpiration(long long time) = 0 ;
-
- // The message ID which is set by the provider.
- virtual p<string> getJMSMessageID() = 0 ;
-
- // Whether or not this message is persistent.
- virtual bool getJMSPersistent() = 0 ;
- virtual void setJMSPersistent(bool persistent) = 0 ;
-
- // The priority on this message.
- virtual unsigned char getJMSPriority() = 0 ;
- virtual void setJMSPriority(unsigned char priority) = 0 ;
-
- // Returns true if this message has been redelivered to this
- // or another consumer before being acknowledged successfully.
- virtual bool getJMSRedelivered() = 0 ;
-
- // The destination that the consumer of this message should
- // send replies to.
- virtual p<IDestination> getJMSReplyTo() = 0 ;
- virtual void setJMSReplyTo(p<IDestination> destination) = 0 ;
-
- // The timestamp the broker added to the message.
- virtual long long getJMSTimestamp() = 0 ;
-
- // The type name of this message.
- virtual p<string> getJMSType() = 0 ;
- virtual void setJMSType(const char* type) = 0 ;
-
- //
- // JMS Extension Headers
-
- // Returns the number of times this message has been redelivered
- // to other consumers without being acknowledged successfully.
- virtual int getJMSXDeliveryCount() = 0 ;
-
- // The message group ID is used to group messages together to the
- // same consumer for the same group ID value.
- virtual p<string> getJMSXGroupID() = 0 ;
- virtual void setJMSXGroupID(const char* groupId) = 0 ;
-
- // The message group sequence counter to indicate the position
- // in a group.
- virtual int getJMSXGroupSeq() = 0 ;
- virtual void setJMSXGroupSeq(int sequence) = 0 ;
-
- // Returns the ID of the producers transaction.
- virtual p<string> getJMSXProducerTxID() = 0 ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_IMessage_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_IMessage_hpp_
+#define Cms_IMessage_hpp_
+
+#include <string>
+#include "cms/IDestination.hpp"
+#include "ppr/util/MapItemHolder.hpp"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace cms
+ {
+ using namespace apache::ppr::util;
+ using namespace ifr;
+ using namespace std;
+
+/*
+ * Represents a message either to be sent to a message broker
+ * or received from a message broker.
+ */
+struct IMessage : Interface
+{
+ // If using client acknowledgement mode on the session then
+ // this method will acknowledge that the message has been
+ // processed correctly.
+ virtual void acknowledge() = 0 ;
+
+ // Provides access to the message properties (headers).
+ virtual p<PropertyMap> getProperties() = 0 ;
+
+ // The correlation ID used to correlate messages from
+ // conversations or long running business processes.
+ virtual p<string> getJMSCorrelationID() = 0 ;
+ virtual void setJMSCorrelationID(const char* correlationId) = 0 ;
+
+ // The destination of the message.
+ virtual p<IDestination> getJMSDestination() = 0 ;
+
+ // The time in milliseconds that this message should expire.
+ virtual long long getJMSExpiration() = 0 ;
+ virtual void setJMSExpiration(long long time) = 0 ;
+
+ // The message ID which is set by the provider.
+ virtual p<string> getJMSMessageID() = 0 ;
+
+ // Whether or not this message is persistent.
+ virtual bool getJMSPersistent() = 0 ;
+ virtual void setJMSPersistent(bool persistent) = 0 ;
+
+ // The priority on this message.
+ virtual unsigned char getJMSPriority() = 0 ;
+ virtual void setJMSPriority(unsigned char priority) = 0 ;
+
+ // Returns true if this message has been redelivered to this
+ // or another consumer before being acknowledged successfully.
+ virtual bool getJMSRedelivered() = 0 ;
+
+ // The destination that the consumer of this message should
+ // send replies to.
+ virtual p<IDestination> getJMSReplyTo() = 0 ;
+ virtual void setJMSReplyTo(p<IDestination> destination) = 0 ;
+
+ // The timestamp the broker added to the message.
+ virtual long long getJMSTimestamp() = 0 ;
+
+ // The type name of this message.
+ virtual p<string> getJMSType() = 0 ;
+ virtual void setJMSType(const char* type) = 0 ;
+
+ //
+ // JMS Extension Headers
+
+ // Returns the number of times this message has been redelivered
+ // to other consumers without being acknowledged successfully.
+ virtual int getJMSXDeliveryCount() = 0 ;
+
+ // The message group ID is used to group messages together to the
+ // same consumer for the same group ID value.
+ virtual p<string> getJMSXGroupID() = 0 ;
+ virtual void setJMSXGroupID(const char* groupId) = 0 ;
+
+ // The message group sequence counter to indicate the position
+ // in a group.
+ virtual int getJMSXGroupSeq() = 0 ;
+ virtual void setJMSXGroupSeq(int sequence) = 0 ;
+
+ // Returns the ID of the producers transaction.
+ virtual p<string> getJMSXProducerTxID() = 0 ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_IMessage_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessage.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessageConsumer.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessageConsumer.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessageConsumer.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessageConsumer.hpp Fri Jul 28 01:22:48 2006
@@ -1,49 +1,49 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_IMessageConsumer_hpp_
-#define Cms_IMessageConsumer_hpp_
-
-#include <string>
-#include "cms/IMessage.hpp"
-#include "cms/IMessageListener.hpp"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace cms
- {
- using namespace ifr;
-
-/*
- *
- */
-struct IMessageConsumer : Interface
-{
- virtual void setMessageListener(p<IMessageListener> listener) = 0 ;
- virtual p<IMessageListener> getMessageListener() = 0 ;
- virtual p<IMessage> receive() = 0 ;
- virtual p<IMessage> receive(int timeout) = 0 ;
- virtual p<IMessage> receiveNoWait() = 0 ;
-
- virtual void close() = 0 ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_IMessageConsumer_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_IMessageConsumer_hpp_
+#define Cms_IMessageConsumer_hpp_
+
+#include <string>
+#include "cms/IMessage.hpp"
+#include "cms/IMessageListener.hpp"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace cms
+ {
+ using namespace ifr;
+
+/*
+ *
+ */
+struct IMessageConsumer : Interface
+{
+ virtual void setMessageListener(p<IMessageListener> listener) = 0 ;
+ virtual p<IMessageListener> getMessageListener() = 0 ;
+ virtual p<IMessage> receive() = 0 ;
+ virtual p<IMessage> receive(int timeout) = 0 ;
+ virtual p<IMessage> receiveNoWait() = 0 ;
+
+ virtual void close() = 0 ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_IMessageConsumer_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessageConsumer.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessageListener.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessageListener.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessageListener.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessageListener.hpp Fri Jul 28 01:22:48 2006
@@ -1,41 +1,41 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_IMessageListener_hpp_
-#define Cms_IMessageListener_hpp_
-
-#include "cms/IMessage.hpp"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace cms
- {
- using namespace ifr;
-
-/*
- *
- */
-struct IMessageListener : Interface
-{
- virtual void onMessage(p<IMessage> message) = 0 ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_IMessageListener_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_IMessageListener_hpp_
+#define Cms_IMessageListener_hpp_
+
+#include "cms/IMessage.hpp"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace cms
+ {
+ using namespace ifr;
+
+/*
+ *
+ */
+struct IMessageListener : Interface
+{
+ virtual void onMessage(p<IMessage> message) = 0 ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_IMessageListener_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessageListener.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessageProducer.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessageProducer.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessageProducer.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessageProducer.hpp Fri Jul 28 01:22:48 2006
@@ -1,60 +1,60 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_IMessageProducer_hpp_
-#define Cms_IMessageProducer_hpp_
-
-#include <string>
-#include "cms/IDestination.hpp"
-#include "cms/IMessage.hpp"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace cms
- {
- using namespace ifr;
-
-/*
- * An object capable of sending messages to some destination.
- */
-struct IMessageProducer : Interface
-{
- // Sends the message to the default destination for this producer.
- virtual void send(p<IMessage> message) = 0 ;
-
- // Sends the message to the given destination.
- virtual void send(p<IDestination> destination, p<IMessage> message) = 0 ;
-
- virtual void close() = 0 ;
-
- virtual bool getPersistent() = 0 ;
- virtual void setPersistent(bool persistent) = 0 ;
- virtual long long getTimeToLive() = 0 ;
- virtual void getTimeToLive(long long ttl) = 0 ;
- virtual int getPriority() = 0 ;
- virtual void getPriority(int priority) = 0 ;
- virtual bool getDisableMessageID() = 0 ;
- virtual void getDisableMessageID(bool disable) = 0 ;
- virtual bool getDisableMessageTimestamp() = 0 ;
- virtual void getDisableMessageTimestamp(bool disable) = 0 ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_IMessageProducer_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_IMessageProducer_hpp_
+#define Cms_IMessageProducer_hpp_
+
+#include <string>
+#include "cms/IDestination.hpp"
+#include "cms/IMessage.hpp"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace cms
+ {
+ using namespace ifr;
+
+/*
+ * An object capable of sending messages to some destination.
+ */
+struct IMessageProducer : Interface
+{
+ // Sends the message to the default destination for this producer.
+ virtual void send(p<IMessage> message) = 0 ;
+
+ // Sends the message to the given destination.
+ virtual void send(p<IDestination> destination, p<IMessage> message) = 0 ;
+
+ virtual void close() = 0 ;
+
+ virtual bool getPersistent() = 0 ;
+ virtual void setPersistent(bool persistent) = 0 ;
+ virtual long long getTimeToLive() = 0 ;
+ virtual void getTimeToLive(long long ttl) = 0 ;
+ virtual int getPriority() = 0 ;
+ virtual void getPriority(int priority) = 0 ;
+ virtual bool getDisableMessageID() = 0 ;
+ virtual void getDisableMessageID(bool disable) = 0 ;
+ virtual bool getDisableMessageTimestamp() = 0 ;
+ virtual void getDisableMessageTimestamp(bool disable) = 0 ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_IMessageProducer_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IMessageProducer.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IQueue.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IQueue.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IQueue.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IQueue.hpp Fri Jul 28 01:22:48 2006
@@ -1,43 +1,43 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_IQueue_hpp_
-#define Cms_IQueue_hpp_
-
-#include <string>
-#include "cms/IDestination.hpp"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace cms
- {
- using namespace ifr;
- using namespace std;
-
-/*
- *
- */
-struct IQueue : IDestination
-{
- virtual p<string> getQueueName() = 0 ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_IQueue_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_IQueue_hpp_
+#define Cms_IQueue_hpp_
+
+#include <string>
+#include "cms/IDestination.hpp"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace cms
+ {
+ using namespace ifr;
+ using namespace std;
+
+/*
+ *
+ */
+struct IQueue : IDestination
+{
+ virtual p<string> getQueueName() = 0 ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_IQueue_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IQueue.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ISession.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ISession.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ISession.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ISession.hpp Fri Jul 28 01:22:48 2006
@@ -1,68 +1,68 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_ISession_hpp_
-#define Cms_ISession_hpp_
-
-#include "cms/IDestination.hpp"
-#include "cms/IMessageProducer.hpp"
-#include "cms/IMessageConsumer.hpp"
-#include "cms/IQueue.hpp"
-#include "cms/ITopic.hpp"
-#include "cms/ITemporaryQueue.hpp"
-#include "cms/ITemporaryTopic.hpp"
-#include "cms/ITextMessage.hpp"
-#include "cms/IBytesMessage.hpp"
-#include "cms/IMapMessage.hpp"
-#include "cms/CmsException.hpp"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace cms
- {
- using namespace ifr;
-
-/*
- *
- */
-struct ISession : Interface
-{
- virtual void commit() throw(CmsException) = 0 ;
- virtual void rollback() throw(CmsException) = 0 ;
- virtual p<IQueue> getQueue(const char* name) = 0 ;
- virtual p<ITopic> getTopic(const char* name) = 0 ;
- virtual p<IMessageProducer> createProducer() = 0 ;
- virtual p<IMessageProducer> createProducer(p<IDestination> destination) = 0 ;
- virtual p<IMessageConsumer> createConsumer(p<IDestination> destination) = 0 ;
- virtual p<IMessageConsumer> createConsumer(p<IDestination> destination, const char* selector) = 0 ;
- virtual p<IMessageConsumer> createDurableConsumer(p<ITopic> destination, const char* name, const char* selector, bool noLocal) = 0 ;
- virtual p<ITemporaryQueue> createTemporaryQueue() = 0 ;
- virtual p<ITemporaryTopic> createTemporaryTopic() = 0 ;
- virtual p<IMessage> createMessage() = 0 ;
- virtual p<IBytesMessage> createBytesMessage() = 0 ;
- virtual p<IBytesMessage> createBytesMessage(char* body, int size) = 0 ;
- virtual p<IMapMessage> createMapMessage() = 0 ;
- virtual p<ITextMessage> createTextMessage() = 0 ;
- virtual p<ITextMessage> createTextMessage(const char* text) = 0 ;
- virtual void close() = 0 ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_ISession_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_ISession_hpp_
+#define Cms_ISession_hpp_
+
+#include "cms/IDestination.hpp"
+#include "cms/IMessageProducer.hpp"
+#include "cms/IMessageConsumer.hpp"
+#include "cms/IQueue.hpp"
+#include "cms/ITopic.hpp"
+#include "cms/ITemporaryQueue.hpp"
+#include "cms/ITemporaryTopic.hpp"
+#include "cms/ITextMessage.hpp"
+#include "cms/IBytesMessage.hpp"
+#include "cms/IMapMessage.hpp"
+#include "cms/CmsException.hpp"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace cms
+ {
+ using namespace ifr;
+
+/*
+ *
+ */
+struct ISession : Interface
+{
+ virtual void commit() throw(CmsException) = 0 ;
+ virtual void rollback() throw(CmsException) = 0 ;
+ virtual p<IQueue> getQueue(const char* name) = 0 ;
+ virtual p<ITopic> getTopic(const char* name) = 0 ;
+ virtual p<IMessageProducer> createProducer() = 0 ;
+ virtual p<IMessageProducer> createProducer(p<IDestination> destination) = 0 ;
+ virtual p<IMessageConsumer> createConsumer(p<IDestination> destination) = 0 ;
+ virtual p<IMessageConsumer> createConsumer(p<IDestination> destination, const char* selector) = 0 ;
+ virtual p<IMessageConsumer> createDurableConsumer(p<ITopic> destination, const char* name, const char* selector, bool noLocal) = 0 ;
+ virtual p<ITemporaryQueue> createTemporaryQueue() = 0 ;
+ virtual p<ITemporaryTopic> createTemporaryTopic() = 0 ;
+ virtual p<IMessage> createMessage() = 0 ;
+ virtual p<IBytesMessage> createBytesMessage() = 0 ;
+ virtual p<IBytesMessage> createBytesMessage(char* body, int size) = 0 ;
+ virtual p<IMapMessage> createMapMessage() = 0 ;
+ virtual p<ITextMessage> createTextMessage() = 0 ;
+ virtual p<ITextMessage> createTextMessage(const char* text) = 0 ;
+ virtual void close() = 0 ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_ISession_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ISession.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IStartable.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IStartable.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IStartable.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IStartable.hpp Fri Jul 28 01:22:48 2006
@@ -1,39 +1,39 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_IStartable_hpp_
-#define Cms_IStartable_hpp_
-
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace cms
- {
- using namespace ifr;
-/*
- *
- */
-struct IStartable : Interface
-{
- virtual void start() = 0 ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_IStartable_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_IStartable_hpp_
+#define Cms_IStartable_hpp_
+
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace cms
+ {
+ using namespace ifr;
+/*
+ *
+ */
+struct IStartable : Interface
+{
+ virtual void start() = 0 ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_IStartable_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/IStartable.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITemporaryQueue.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITemporaryQueue.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITemporaryQueue.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITemporaryQueue.hpp Fri Jul 28 01:22:48 2006
@@ -1,38 +1,38 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_ITemporaryQueue_hpp_
-#define Cms_ITemporaryQueue_hpp_
-
-#include "cms/IDestination.hpp"
-
-namespace apache
-{
- namespace cms
- {
-
-/*
- *
- */
-struct ITemporaryQueue : IDestination
-{
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_ITemporaryQueue_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_ITemporaryQueue_hpp_
+#define Cms_ITemporaryQueue_hpp_
+
+#include "cms/IDestination.hpp"
+
+namespace apache
+{
+ namespace cms
+ {
+
+/*
+ *
+ */
+struct ITemporaryQueue : IDestination
+{
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_ITemporaryQueue_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITemporaryQueue.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITemporaryTopic.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITemporaryTopic.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITemporaryTopic.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITemporaryTopic.hpp Fri Jul 28 01:22:48 2006
@@ -1,38 +1,38 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_ITemporaryTopic_hpp_
-#define Cms_ITemporaryTopic_hpp_
-
-#include "cms/IDestination.hpp"
-
-namespace apache
-{
- namespace cms
- {
-
-/*
- *
- */
-struct ITemporaryTopic : IDestination
-{
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_ITemporaryTopic_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_ITemporaryTopic_hpp_
+#define Cms_ITemporaryTopic_hpp_
+
+#include "cms/IDestination.hpp"
+
+namespace apache
+{
+ namespace cms
+ {
+
+/*
+ *
+ */
+struct ITemporaryTopic : IDestination
+{
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_ITemporaryTopic_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITemporaryTopic.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITextMessage.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITextMessage.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITextMessage.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITextMessage.hpp Fri Jul 28 01:22:48 2006
@@ -1,42 +1,42 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_ITextMessage_hpp_
-#define Cms_ITextMessage_hpp_
-
-#include <string>
-#include "cms/IMessage.hpp"
-
-namespace apache
-{
- namespace cms
- {
- using namespace std;
-
-/*
- * Represents a text based message.
- */
-struct ITextMessage : IMessage
-{
- virtual p<string> getText() = 0 ;
- virtual void setText(const char* txt) = 0 ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_ITextMessage_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_ITextMessage_hpp_
+#define Cms_ITextMessage_hpp_
+
+#include <string>
+#include "cms/IMessage.hpp"
+
+namespace apache
+{
+ namespace cms
+ {
+ using namespace std;
+
+/*
+ * Represents a text based message.
+ */
+struct ITextMessage : IMessage
+{
+ virtual p<string> getText() = 0 ;
+ virtual void setText(const char* txt) = 0 ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_ITextMessage_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITextMessage.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITopic.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITopic.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITopic.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITopic.hpp Fri Jul 28 01:22:48 2006
@@ -1,43 +1,43 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_ITopic_hpp_
-#define Cms_ITopic_hpp_
-
-#include <string>
-#include "cms/IDestination.hpp"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace cms
- {
- using namespace ifr;
- using namespace std;
-
-/*
- *
- */
-struct ITopic : IDestination
-{
- virtual p<string> getTopicName() = 0 ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_ITopic_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_ITopic_hpp_
+#define Cms_ITopic_hpp_
+
+#include <string>
+#include "cms/IDestination.hpp"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace cms
+ {
+ using namespace ifr;
+ using namespace std;
+
+/*
+ *
+ */
+struct ITopic : IDestination
+{
+ virtual p<string> getTopicName() = 0 ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_ITopic_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/ITopic.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageEOFException.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageEOFException.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageEOFException.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageEOFException.hpp Fri Jul 28 01:22:48 2006
@@ -1,44 +1,44 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_MessageEOFException_hpp_
-#define Cms_MessageEOFException_hpp_
-
-#include "cms/CmsException.hpp"
-
-namespace apache
-{
- namespace cms
- {
-
-/*
- * Signals that an unexpected end of stream has been reached when reading
- * a message.
- */
-class MessageEOFException : public CmsException
-{
-public:
- MessageEOFException() : CmsException()
- { /* no-op */ } ;
- MessageEOFException(const char *msg) : CmsException(msg)
- { /* no-op */ } ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_MessageEOFException_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_MessageEOFException_hpp_
+#define Cms_MessageEOFException_hpp_
+
+#include "cms/CmsException.hpp"
+
+namespace apache
+{
+ namespace cms
+ {
+
+/*
+ * Signals that an unexpected end of stream has been reached when reading
+ * a message.
+ */
+class MessageEOFException : public CmsException
+{
+public:
+ MessageEOFException() : CmsException()
+ { /* no-op */ } ;
+ MessageEOFException(const char *msg) : CmsException(msg)
+ { /* no-op */ } ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_MessageEOFException_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageEOFException.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageFormatException.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageFormatException.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageFormatException.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageFormatException.hpp Fri Jul 28 01:22:48 2006
@@ -1,44 +1,44 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_MessageFormatException_hpp_
-#define Cms_MessageFormatException_hpp_
-
-#include "cms/CmsException.hpp"
-
-namespace apache
-{
- namespace cms
- {
-
-/*
- * Signals that a client attempts to use a data type not supported by a
- * message or attempts to read data in a message as the wrong type.
- */
-class MessageFormatException : public CmsException
-{
-public:
- MessageFormatException() : CmsException()
- { /* no-op */ } ;
- MessageFormatException(const char *msg) : CmsException(msg)
- { /* no-op */ } ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_MessageFormatException_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_MessageFormatException_hpp_
+#define Cms_MessageFormatException_hpp_
+
+#include "cms/CmsException.hpp"
+
+namespace apache
+{
+ namespace cms
+ {
+
+/*
+ * Signals that a client attempts to use a data type not supported by a
+ * message or attempts to read data in a message as the wrong type.
+ */
+class MessageFormatException : public CmsException
+{
+public:
+ MessageFormatException() : CmsException()
+ { /* no-op */ } ;
+ MessageFormatException(const char *msg) : CmsException(msg)
+ { /* no-op */ } ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_MessageFormatException_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageFormatException.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageNotReadableException.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageNotReadableException.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageNotReadableException.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageNotReadableException.hpp Fri Jul 28 01:22:48 2006
@@ -1,43 +1,43 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_MessageNotReadableException_hpp_
-#define Cms_MessageNotReadableException_hpp_
-
-#include "cms/CmsException.hpp"
-
-namespace apache
-{
- namespace cms
- {
-
-/*
- * Signals that a message is in read-only mode.
- */
-class MessageNotReadableException : public CmsException
-{
-public:
- MessageNotReadableException() : CmsException()
- { /* no-op */ } ;
- MessageNotReadableException(const char *msg) : CmsException(msg)
- { /* no-op */ } ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_MessageNotReadableException_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_MessageNotReadableException_hpp_
+#define Cms_MessageNotReadableException_hpp_
+
+#include "cms/CmsException.hpp"
+
+namespace apache
+{
+ namespace cms
+ {
+
+/*
+ * Signals that a message is in read-only mode.
+ */
+class MessageNotReadableException : public CmsException
+{
+public:
+ MessageNotReadableException() : CmsException()
+ { /* no-op */ } ;
+ MessageNotReadableException(const char *msg) : CmsException(msg)
+ { /* no-op */ } ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_MessageNotReadableException_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageNotReadableException.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageNotWritableException.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageNotWritableException.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageNotWritableException.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageNotWritableException.hpp Fri Jul 28 01:22:48 2006
@@ -1,43 +1,43 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Cms_MessageNotWritableException_hpp_
-#define Cms_MessageNotWritableException_hpp_
-
-#include "cms/CmsException.hpp"
-
-namespace apache
-{
- namespace cms
- {
-
-/*
- * Signals that a message is in read-only mode.
- */
-class MessageNotWritableException : public CmsException
-{
-public:
- MessageNotWritableException() : CmsException()
- { /* no-op */ } ;
- MessageNotWritableException(const char *msg) : CmsException(msg)
- { /* no-op */ } ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Cms_MessageNotWritableException_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Cms_MessageNotWritableException_hpp_
+#define Cms_MessageNotWritableException_hpp_
+
+#include "cms/CmsException.hpp"
+
+namespace apache
+{
+ namespace cms
+ {
+
+/*
+ * Signals that a message is in read-only mode.
+ */
+class MessageNotWritableException : public CmsException
+{
+public:
+ MessageNotWritableException() : CmsException()
+ { /* no-op */ } ;
+ MessageNotWritableException(const char *msg) : CmsException(msg)
+ { /* no-op */ } ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Cms_MessageNotWritableException_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/cms/MessageNotWritableException.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/ConversionException.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/ConversionException.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/ConversionException.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/ConversionException.hpp Fri Jul 28 01:22:48 2006
@@ -1,45 +1,45 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Ppr_ConversionException_hpp_
-#define Ppr_ConversionException_hpp_
-
-#include "ppr/TraceException.hpp"
-
-namespace apache
-{
- namespace ppr
- {
-
-/*
- * Signals that an illegal data conversion has occurred.
- */
-class ConversionException : public TraceException
-{
-public:
- ConversionException() : TraceException()
- { /* no-op */ } ;
- ConversionException(const char *const& msg) : TraceException(msg)
- { /* no-op */ } ;
- ConversionException(const char* fileName, int lineNo, const char* msg) : TraceException(msg)
- { /* no-op */ } ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Ppr_ConversionException_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Ppr_ConversionException_hpp_
+#define Ppr_ConversionException_hpp_
+
+#include "ppr/TraceException.hpp"
+
+namespace apache
+{
+ namespace ppr
+ {
+
+/*
+ * Signals that an illegal data conversion has occurred.
+ */
+class ConversionException : public TraceException
+{
+public:
+ ConversionException() : TraceException()
+ { /* no-op */ } ;
+ ConversionException(const char *const& msg) : TraceException(msg)
+ { /* no-op */ } ;
+ ConversionException(const char* fileName, int lineNo, const char* msg) : TraceException(msg)
+ { /* no-op */ } ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Ppr_ConversionException_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/ConversionException.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/IllegalArgumentException.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/IllegalArgumentException.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/IllegalArgumentException.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/IllegalArgumentException.hpp Fri Jul 28 01:22:48 2006
@@ -1,45 +1,45 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Ppr_IllegalArgumentException_hpp_
-#define Ppr_IllegalArgumentException_hpp_
-
-#include "ppr/TraceException.hpp"
-
-namespace apache
-{
- namespace ppr
- {
-
-/*
- * Signals that a method has been passed an illegal or inappropriate argument.
- */
-class IllegalArgumentException : public TraceException
-{
-public:
- IllegalArgumentException() : TraceException()
- { /* no-op */ } ;
- IllegalArgumentException(const char *const& msg) : TraceException(msg)
- { /* no-op */ } ;
- IllegalArgumentException(const char* fileName, int lineNo, const char* msg) : TraceException(msg)
- { /* no-op */ } ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Ppr_IllegalArgumentException_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Ppr_IllegalArgumentException_hpp_
+#define Ppr_IllegalArgumentException_hpp_
+
+#include "ppr/TraceException.hpp"
+
+namespace apache
+{
+ namespace ppr
+ {
+
+/*
+ * Signals that a method has been passed an illegal or inappropriate argument.
+ */
+class IllegalArgumentException : public TraceException
+{
+public:
+ IllegalArgumentException() : TraceException()
+ { /* no-op */ } ;
+ IllegalArgumentException(const char *const& msg) : TraceException(msg)
+ { /* no-op */ } ;
+ IllegalArgumentException(const char* fileName, int lineNo, const char* msg) : TraceException(msg)
+ { /* no-op */ } ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Ppr_IllegalArgumentException_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/IllegalArgumentException.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/InvalidOperationException.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/InvalidOperationException.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/InvalidOperationException.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/InvalidOperationException.hpp Fri Jul 28 01:22:48 2006
@@ -1,45 +1,45 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Ppr_InvalidOperationException_hpp_
-#define Ppr_InvalidOperationException_hpp_
-
-#include "ppr/TraceException.hpp"
-
-namespace apache
-{
- namespace ppr
- {
-
-/*
- * Signals that an invalid operation has been attempted.
- */
-class InvalidOperationException : public TraceException
-{
-public:
- InvalidOperationException() : TraceException()
- { /* no-op */ } ;
- InvalidOperationException(const char *const& msg) : TraceException(msg)
- { /* no-op */ } ;
- InvalidOperationException(const char* fileName, int lineNo, const char* msg) : TraceException(msg)
- { /* no-op */ } ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Ppr_IllegalArgumentException_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Ppr_InvalidOperationException_hpp_
+#define Ppr_InvalidOperationException_hpp_
+
+#include "ppr/TraceException.hpp"
+
+namespace apache
+{
+ namespace ppr
+ {
+
+/*
+ * Signals that an invalid operation has been attempted.
+ */
+class InvalidOperationException : public TraceException
+{
+public:
+ InvalidOperationException() : TraceException()
+ { /* no-op */ } ;
+ InvalidOperationException(const char *const& msg) : TraceException(msg)
+ { /* no-op */ } ;
+ InvalidOperationException(const char* fileName, int lineNo, const char* msg) : TraceException(msg)
+ { /* no-op */ } ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Ppr_IllegalArgumentException_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/InvalidOperationException.hpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/TraceException.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/TraceException.cpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/TraceException.cpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/TraceException.cpp Fri Jul 28 01:22:48 2006
@@ -1,72 +1,72 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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.
- */
-#include "ppr/TraceException.hpp"
-
-using namespace apache::ppr;
-
-/*
- *
- */
-TraceException::TraceException()
- : exception()
-{
- // no-op
-} ;
-
-/*
- *
- */
-TraceException::TraceException(const char* msg, ...)
-{
- va_list vargs ;
-
- va_start(vargs, msg) ;
- buildMessage(msg, vargs) ;
-}
-
-void TraceException::buildMessage(const char* format, va_list& vargs)
-{
- // Allocate buffer with a guess of it's size
- array<char> buffer (128);
-
- // Format string
- for (;;) {
- int size = vsnprintf(buffer.c_array(), buffer.size(), format, vargs);
- if (size > -1 && size < (int) buffer.size()) {
- // Guessed size was enough. Assign the string.
- message.assign (buffer.c_array(), size);
- break;
- }
- // Guessed size was not enough.
- if (size > -1) {
- // Reallocate a new buffer that will fit.
- buffer = array<char> (size + 1);
- } else {
- // Implementation of vsnprintf() did not return a valid required size.
- // Reallocate a new buffer. Double the guess of size.
- buffer = array<char> (buffer.size() * 2);
- }
- }
-}
-
-const char* TraceException::what() const throw()
-{
- if( message.empty() )
- return exception::what() ;
- else
- return message.c_str() ;
-}
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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.
+ */
+#include "ppr/TraceException.hpp"
+
+using namespace apache::ppr;
+
+/*
+ *
+ */
+TraceException::TraceException()
+ : exception()
+{
+ // no-op
+} ;
+
+/*
+ *
+ */
+TraceException::TraceException(const char* msg, ...)
+{
+ va_list vargs ;
+
+ va_start(vargs, msg) ;
+ buildMessage(msg, vargs) ;
+}
+
+void TraceException::buildMessage(const char* format, va_list& vargs)
+{
+ // Allocate buffer with a guess of it's size
+ array<char> buffer (128);
+
+ // Format string
+ for (;;) {
+ int size = vsnprintf(buffer.c_array(), buffer.size(), format, vargs);
+ if (size > -1 && size < (int) buffer.size()) {
+ // Guessed size was enough. Assign the string.
+ message.assign (buffer.c_array(), size);
+ break;
+ }
+ // Guessed size was not enough.
+ if (size > -1) {
+ // Reallocate a new buffer that will fit.
+ buffer = array<char> (size + 1);
+ } else {
+ // Implementation of vsnprintf() did not return a valid required size.
+ // Reallocate a new buffer. Double the guess of size.
+ buffer = array<char> (buffer.size() * 2);
+ }
+ }
+}
+
+const char* TraceException::what() const throw()
+{
+ if( message.empty() )
+ return exception::what() ;
+ else
+ return message.c_str() ;
+}
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/TraceException.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/TraceException.hpp
URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/TraceException.hpp?rev=426431&r1=426430&r2=426431&view=diff
==============================================================================
--- incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/TraceException.hpp (original)
+++ incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/TraceException.hpp Fri Jul 28 01:22:48 2006
@@ -1,56 +1,56 @@
-/*
- * Copyright 2006 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed 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 Ppr_TraceException_hpp_
-#define Ppr_TraceException_hpp_
-
-#include <exception>
-#include <string>
-#include <stdarg.h>
-#include <stdio.h>
-#include "ppr/util/ifr/array"
-#include "ppr/util/ifr/p"
-
-namespace apache
-{
- namespace ppr
- {
- using namespace std;
- using namespace ifr;
-
-/*
- * Base class for all exceptions containing trace information.
- */
-class TraceException : public exception
-{
- string message ;
-
-public:
- TraceException() ;
- TraceException(const char* msg, ...) ;
- virtual ~TraceException() throw () {}
-
- virtual const char* what() const throw() ;
-
-protected:
- virtual void buildMessage(const char* format, va_list& vargs) ;
-} ;
-
-/* namespace */
- }
-}
-
-#endif /*Ppr_TraceException_hpp_*/
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * Licensed 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 Ppr_TraceException_hpp_
+#define Ppr_TraceException_hpp_
+
+#include <exception>
+#include <string>
+#include <stdarg.h>
+#include <stdio.h>
+#include "ppr/util/ifr/array"
+#include "ppr/util/ifr/p"
+
+namespace apache
+{
+ namespace ppr
+ {
+ using namespace std;
+ using namespace ifr;
+
+/*
+ * Base class for all exceptions containing trace information.
+ */
+class TraceException : public exception
+{
+ string message ;
+
+public:
+ TraceException() ;
+ TraceException(const char* msg, ...) ;
+ virtual ~TraceException() throw () {}
+
+ virtual const char* what() const throw() ;
+
+protected:
+ virtual void buildMessage(const char* format, va_list& vargs) ;
+} ;
+
+/* namespace */
+ }
+}
+
+#endif /*Ppr_TraceException_hpp_*/
Propchange: incubator/activemq/branches/activemq-4.0/openwire-cpp/src/main/cpp/ppr/TraceException.hpp
------------------------------------------------------------------------------
svn:eol-style = native