You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2010/06/29 19:58:35 UTC
svn commit: r959054 [1/10] - in
/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq: commands/
wireformat/openwire/marshal/generated/
Author: tabish
Date: Tue Jun 29 17:58:29 2010
New Revision: 959054
URL: http://svn.apache.org/viewvc?rev=959054&view=rev
Log:
Remove throw specifier from the classes in the library
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBlobMessage.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQDestination.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQDestination.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMessage.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMessageTemplate.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQObjectMessage.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQQueue.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQQueue.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQStreamMessage.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQStreamMessage.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempDestination.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempDestination.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempQueue.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempQueue.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempTopic.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempTopic.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTextMessage.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTextMessage.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTopic.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BaseCommand.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BaseDataStructure.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BooleanExpression.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerError.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerError.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerId.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerInfo.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerInfo.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/Command.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionControl.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionControl.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionError.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionError.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionId.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionInfo.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionInfo.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerControl.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerControl.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerId.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerInfo.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerInfo.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ControlCommand.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ControlCommand.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataArrayResponse.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataResponse.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DestinationInfo.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DestinationInfo.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DiscoveryEvent.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ExceptionResponse.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/FlushCommand.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/FlushCommand.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/IntegerResponse.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalQueueAck.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTopicAck.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTrace.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTransaction.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/KeepAliveInfo.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/KeepAliveInfo.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/LastPartialCommand.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/LocalTransactionId.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/Message.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/Message.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageAck.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageAck.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatch.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatch.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageId.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessagePull.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessagePull.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/PartialCommand.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerAck.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerAck.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerId.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerInfo.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerInfo.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/RemoveInfo.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/RemoveInfo.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/RemoveSubscriptionInfo.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/RemoveSubscriptionInfo.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ReplayCommand.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ReplayCommand.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/Response.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/Response.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/SessionId.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/SessionInfo.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/SessionInfo.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ShutdownInfo.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ShutdownInfo.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/SubscriptionInfo.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/TransactionId.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/TransactionInfo.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/TransactionInfo.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/WireFormatInfo.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/WireFormatInfo.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/XATransactionId.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQBlobMessageMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQBlobMessageMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQBytesMessageMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQBytesMessageMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQDestinationMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQDestinationMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQMapMessageMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQMapMessageMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQMessageMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQMessageMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQObjectMessageMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQObjectMessageMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQQueueMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQQueueMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQStreamMessageMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQStreamMessageMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQTempDestinationMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQTempDestinationMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQTempQueueMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQTempQueueMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQTempTopicMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQTempTopicMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQTextMessageMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQTextMessageMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQTopicMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ActiveMQTopicMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/BaseCommandMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/BaseCommandMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/BrokerIdMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/BrokerIdMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/BrokerInfoMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/BrokerInfoMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ConnectionControlMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ConnectionControlMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ConnectionErrorMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ConnectionErrorMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ConnectionIdMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ConnectionIdMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ConnectionInfoMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ConnectionInfoMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ConsumerControlMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ConsumerControlMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ConsumerIdMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ConsumerIdMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ConsumerInfoMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ConsumerInfoMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ControlCommandMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ControlCommandMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/DataArrayResponseMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/DataArrayResponseMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/DataResponseMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/DataResponseMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/DestinationInfoMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/DestinationInfoMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/DiscoveryEventMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/DiscoveryEventMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ExceptionResponseMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ExceptionResponseMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/FlushCommandMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/FlushCommandMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/IntegerResponseMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/IntegerResponseMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalQueueAckMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalQueueAckMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTopicAckMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTopicAckMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTraceMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTraceMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTransactionMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/JournalTransactionMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/KeepAliveInfoMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/KeepAliveInfoMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LastPartialCommandMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LastPartialCommandMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LocalTransactionIdMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/LocalTransactionIdMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageAckMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageAckMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchNotificationMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageDispatchNotificationMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageIdMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageIdMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessageMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessagePullMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/MessagePullMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/NetworkBridgeFilterMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/NetworkBridgeFilterMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/PartialCommandMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/PartialCommandMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ProducerAckMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ProducerAckMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ProducerIdMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ProducerIdMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ProducerInfoMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ProducerInfoMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/RemoveInfoMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/RemoveInfoMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/RemoveSubscriptionInfoMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/RemoveSubscriptionInfoMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ReplayCommandMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ReplayCommandMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ResponseMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ResponseMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/SessionIdMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/SessionIdMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/SessionInfoMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/SessionInfoMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ShutdownInfoMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ShutdownInfoMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/SubscriptionInfoMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/SubscriptionInfoMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/TransactionIdMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/TransactionIdMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/TransactionInfoMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/TransactionInfoMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/WireFormatInfoMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/WireFormatInfoMarshaller.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/XATransactionIdMarshaller.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/XATransactionIdMarshaller.h
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBlobMessage.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBlobMessage.h?rev=959054&r1=959053&r2=959054&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBlobMessage.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBlobMessage.h Tue Jun 29 17:58:29 2010
@@ -59,42 +59,16 @@ namespace commands {
virtual unsigned char getDataStructureType() const;
- /**
- * Clone this object and return a new instance that the
- * caller now owns, this will be an exact copy of this one
- * @returns new copy of this object.
- */
virtual ActiveMQBlobMessage* cloneDataStructure() const;
- /**
- * Copy the contents of the passed object into this objects
- * members, overwriting any existing data.
- * @return src - Source Object
- */
virtual void copyDataStructure( const DataStructure* src );
- /**
- * Returns a string containing the information for this DataStructure
- * such as its type and value of its elements.
- * @return formatted string useful for debugging.
- */
virtual std::string toString() const;
- /**
- * Compares the DataStructure passed in to this one, and returns if
- * they are equivalent. Equivalent here means that they are of the
- * same type, and that each element of the objects are the same.
- * @returns true if DataStructure's are Equal.
- */
virtual bool equals( const DataStructure* value ) const;
public: // cms::Message
- /**
- * Clone this message exactly, returns a new instance that the
- * caller is required to delete.
- * @return new copy of this message
- */
virtual cms::Message* clone() const {
return dynamic_cast<cms::Message*>( this->cloneDataStructure() );
}
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp?rev=959054&r1=959053&r2=959054&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp Tue Jun 29 17:58:29 2010
@@ -142,8 +142,7 @@ bool ActiveMQBytesMessage::equals( const
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQBytesMessage::setBodyBytes( const unsigned char* buffer, int numBytes )
- throw( cms::MessageNotWriteableException, cms::CMSException ) {
+void ActiveMQBytesMessage::setBodyBytes( const unsigned char* buffer, int numBytes ) {
try{
@@ -154,8 +153,7 @@ void ActiveMQBytesMessage::setBodyBytes(
}
////////////////////////////////////////////////////////////////////////////////
-unsigned char* ActiveMQBytesMessage::getBodyBytes() const
- throw( cms::MessageNotReadableException, cms::CMSException ) {
+unsigned char* ActiveMQBytesMessage::getBodyBytes() const {
try{
@@ -175,8 +173,7 @@ unsigned char* ActiveMQBytesMessage::get
}
////////////////////////////////////////////////////////////////////////////////
-int ActiveMQBytesMessage::getBodyLength() const
- throw( cms::MessageNotReadableException, cms::CMSException ) {
+int ActiveMQBytesMessage::getBodyLength() const {
try{
initializeReading();
@@ -186,7 +183,7 @@ int ActiveMQBytesMessage::getBodyLength(
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQBytesMessage::clearBody() throw( cms::CMSException ) {
+void ActiveMQBytesMessage::clearBody() {
// Invoke base class's version.
ActiveMQMessageTemplate<cms::BytesMessage>::clearBody();
@@ -205,8 +202,7 @@ void ActiveMQBytesMessage::onSend() {
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQBytesMessage::reset()
- throw ( cms::MessageFormatException, cms::CMSException ) {
+void ActiveMQBytesMessage::reset() {
try{
storeContent();
@@ -220,8 +216,7 @@ void ActiveMQBytesMessage::reset()
}
////////////////////////////////////////////////////////////////////////////////
-bool ActiveMQBytesMessage::readBoolean() const
- throw ( cms::MessageEOFException, cms::MessageNotReadableException, cms::CMSException ) {
+bool ActiveMQBytesMessage::readBoolean() const {
initializeReading();
try{
@@ -236,8 +231,7 @@ bool ActiveMQBytesMessage::readBoolean()
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQBytesMessage::writeBoolean( bool value )
- throw ( cms::MessageNotWriteableException, cms::CMSException ) {
+void ActiveMQBytesMessage::writeBoolean( bool value ) {
initializeWriting();
try{
@@ -250,8 +244,7 @@ void ActiveMQBytesMessage::writeBoolean(
}
////////////////////////////////////////////////////////////////////////////////
-unsigned char ActiveMQBytesMessage::readByte() const
- throw ( cms::MessageEOFException, cms::MessageNotReadableException, cms::CMSException ) {
+unsigned char ActiveMQBytesMessage::readByte() const {
initializeReading();
try{
@@ -266,8 +259,7 @@ unsigned char ActiveMQBytesMessage::read
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQBytesMessage::writeByte( unsigned char value )
- throw ( cms::MessageNotWriteableException, cms::CMSException ) {
+void ActiveMQBytesMessage::writeByte( unsigned char value ) {
initializeWriting();
try{
@@ -280,15 +272,13 @@ void ActiveMQBytesMessage::writeByte( un
}
////////////////////////////////////////////////////////////////////////////////
-int ActiveMQBytesMessage::readBytes( std::vector<unsigned char>& value ) const
- throw ( cms::MessageEOFException, cms::MessageNotReadableException, cms::CMSException ) {
+int ActiveMQBytesMessage::readBytes( std::vector<unsigned char>& value ) const {
return this->readBytes( &value[0], (int)value.size() );
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQBytesMessage::writeBytes( const std::vector<unsigned char>& value )
- throw ( cms::MessageNotWriteableException, cms::CMSException ) {
+void ActiveMQBytesMessage::writeBytes( const std::vector<unsigned char>& value ) {
initializeWriting();
try{
@@ -301,8 +291,7 @@ void ActiveMQBytesMessage::writeBytes( c
}
////////////////////////////////////////////////////////////////////////////////
-int ActiveMQBytesMessage::readBytes( unsigned char* buffer, int length ) const
- throw ( cms::MessageEOFException, cms::MessageNotReadableException, cms::CMSException ) {
+int ActiveMQBytesMessage::readBytes( unsigned char* buffer, int length ) const {
initializeReading();
try{
@@ -333,8 +322,7 @@ int ActiveMQBytesMessage::readBytes( uns
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQBytesMessage::writeBytes( const unsigned char* value, int offset, int length )
- throw ( cms::MessageNotWriteableException, cms::CMSException ) {
+void ActiveMQBytesMessage::writeBytes( const unsigned char* value, int offset, int length ) {
initializeWriting();
try{
@@ -347,8 +335,7 @@ void ActiveMQBytesMessage::writeBytes( c
}
////////////////////////////////////////////////////////////////////////////////
-char ActiveMQBytesMessage::readChar() const
- throw ( cms::MessageEOFException, cms::MessageNotReadableException, cms::CMSException ) {
+char ActiveMQBytesMessage::readChar() const {
initializeReading();
try{
@@ -363,8 +350,7 @@ char ActiveMQBytesMessage::readChar() co
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQBytesMessage::writeChar( char value )
- throw ( cms::MessageNotWriteableException, cms::CMSException ) {
+void ActiveMQBytesMessage::writeChar( char value ) {
initializeWriting();
try{
@@ -377,8 +363,7 @@ void ActiveMQBytesMessage::writeChar( ch
}
////////////////////////////////////////////////////////////////////////////////
-float ActiveMQBytesMessage::readFloat() const
- throw ( cms::MessageEOFException, cms::MessageNotReadableException, cms::CMSException ) {
+float ActiveMQBytesMessage::readFloat() const {
initializeReading();
try{
@@ -393,8 +378,7 @@ float ActiveMQBytesMessage::readFloat()
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQBytesMessage::writeFloat( float value )
- throw ( cms::MessageNotWriteableException, cms::CMSException ) {
+void ActiveMQBytesMessage::writeFloat( float value ) {
initializeWriting();
try{
@@ -407,8 +391,7 @@ void ActiveMQBytesMessage::writeFloat( f
}
////////////////////////////////////////////////////////////////////////////////
-double ActiveMQBytesMessage::readDouble() const
- throw ( cms::MessageEOFException, cms::MessageNotReadableException, cms::CMSException ) {
+double ActiveMQBytesMessage::readDouble() const {
initializeReading();
try{
@@ -423,8 +406,7 @@ double ActiveMQBytesMessage::readDouble(
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQBytesMessage::writeDouble( double value )
- throw ( cms::MessageNotWriteableException, cms::CMSException ) {
+void ActiveMQBytesMessage::writeDouble( double value ) {
initializeWriting();
try{
@@ -437,8 +419,7 @@ void ActiveMQBytesMessage::writeDouble(
}
////////////////////////////////////////////////////////////////////////////////
-short ActiveMQBytesMessage::readShort() const
- throw ( cms::MessageEOFException, cms::MessageNotReadableException, cms::CMSException ) {
+short ActiveMQBytesMessage::readShort() const {
initializeReading();
try{
@@ -453,8 +434,7 @@ short ActiveMQBytesMessage::readShort()
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQBytesMessage::writeShort( short value )
- throw ( cms::MessageNotWriteableException, cms::CMSException ) {
+void ActiveMQBytesMessage::writeShort( short value ) {
initializeWriting();
try{
@@ -467,8 +447,7 @@ void ActiveMQBytesMessage::writeShort( s
}
////////////////////////////////////////////////////////////////////////////////
-unsigned short ActiveMQBytesMessage::readUnsignedShort() const
- throw ( cms::MessageEOFException, cms::MessageNotReadableException, cms::CMSException ) {
+unsigned short ActiveMQBytesMessage::readUnsignedShort() const {
initializeReading();
try{
@@ -483,8 +462,7 @@ unsigned short ActiveMQBytesMessage::rea
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQBytesMessage::writeUnsignedShort( unsigned short value )
- throw ( cms::MessageNotWriteableException, cms::CMSException ) {
+void ActiveMQBytesMessage::writeUnsignedShort( unsigned short value ) {
initializeWriting();
try{
@@ -497,8 +475,7 @@ void ActiveMQBytesMessage::writeUnsigned
}
////////////////////////////////////////////////////////////////////////////////
-int ActiveMQBytesMessage::readInt() const
- throw ( cms::MessageEOFException, cms::MessageNotReadableException, cms::CMSException ) {
+int ActiveMQBytesMessage::readInt() const {
initializeReading();
try{
@@ -513,8 +490,7 @@ int ActiveMQBytesMessage::readInt() cons
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQBytesMessage::writeInt( int value )
- throw ( cms::MessageNotWriteableException, cms::CMSException ) {
+void ActiveMQBytesMessage::writeInt( int value ) {
initializeWriting();
try{
@@ -527,8 +503,7 @@ void ActiveMQBytesMessage::writeInt( int
}
////////////////////////////////////////////////////////////////////////////////
-long long ActiveMQBytesMessage::readLong() const
- throw ( cms::MessageEOFException, cms::MessageNotReadableException, cms::CMSException ) {
+long long ActiveMQBytesMessage::readLong() const {
initializeReading();
try{
@@ -543,8 +518,7 @@ long long ActiveMQBytesMessage::readLong
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQBytesMessage::writeLong( long long value )
- throw ( cms::MessageNotWriteableException, cms::CMSException ) {
+void ActiveMQBytesMessage::writeLong( long long value ) {
initializeWriting();
try{
@@ -557,8 +531,7 @@ void ActiveMQBytesMessage::writeLong( lo
}
////////////////////////////////////////////////////////////////////////////////
-std::string ActiveMQBytesMessage::readString() const
- throw ( cms::MessageEOFException, cms::MessageNotReadableException, cms::CMSException ) {
+std::string ActiveMQBytesMessage::readString() const {
initializeReading();
try{
@@ -573,8 +546,7 @@ std::string ActiveMQBytesMessage::readSt
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQBytesMessage::writeString( const std::string& value )
- throw ( cms::MessageNotWriteableException, cms::CMSException ) {
+void ActiveMQBytesMessage::writeString( const std::string& value ) {
initializeWriting();
try{
@@ -587,8 +559,7 @@ void ActiveMQBytesMessage::writeString(
}
////////////////////////////////////////////////////////////////////////////////
-std::string ActiveMQBytesMessage::readUTF() const
- throw ( cms::MessageEOFException, cms::MessageNotReadableException, cms::CMSException ) {
+std::string ActiveMQBytesMessage::readUTF() const {
initializeReading();
try{
@@ -603,8 +574,7 @@ std::string ActiveMQBytesMessage::readUT
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQBytesMessage::writeUTF( const std::string& value )
- throw ( cms::MessageNotWriteableException, cms::CMSException ) {
+void ActiveMQBytesMessage::writeUTF( const std::string& value ) {
initializeWriting();
try{
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.h?rev=959054&r1=959053&r2=959054&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.h Tue Jun 29 17:58:29 2010
@@ -78,504 +78,85 @@ namespace commands{
virtual unsigned char getDataStructureType() const;
- /**
- * Clone this object and return a new instance that the
- * caller now owns, this will be an exact copy of this one
- * @returns new copy of this object.
- */
virtual ActiveMQBytesMessage* cloneDataStructure() const;
- /**
- * Copy the contents of the passed object into this objects
- * members, overwriting any existing data.
- * @return src - Source Object
- */
virtual void copyDataStructure( const DataStructure* src );
- /**
- * Returns a string containing the information for this DataStructure
- * such as its type and value of its elements.
- * @return formatted string useful for debugging.
- */
virtual std::string toString() const;
- /**
- * Compares the DataStructure passed in to this one, and returns if
- * they are equivalent. Equivalent here means that they are of the
- * same type, and that each element of the objects are the same.
- *
- * @param value
- * The Command to compare to this one.
- *
- * @returns true if DataStructure's are Equal.
- */
virtual bool equals( const DataStructure* value ) const;
public: // CMS Message
- /**
- * Clone this message exactly, returns a new instance that the
- * caller is required to delete.
- * @return new copy of this message
- */
virtual cms::BytesMessage* clone() const {
return dynamic_cast<cms::BytesMessage*>( this->cloneDataStructure() );
}
- /**
- * Clears out the body of the message. This does not clear the
- * headers or properties.
- */
- virtual void clearBody() throw( cms::CMSException );
-
- /**
- * Store the Data that was written to the stream before a send
- */
+ virtual void clearBody();
+
virtual void onSend();
public: // CMS BytesMessage
- /**
- * sets the bytes given to the message body.
- *
- * @param buffer
- * Byte Buffer to copy
- * @param numBytes
- * Number of bytes in Buffer to copy
- *
- * @throws CMSException - If an internal error occurs.
- * @throws MessageNotWriteableException - if in Read Only Mode.
- */
- virtual void setBodyBytes( const unsigned char* buffer, int numBytes )
- throw( cms::MessageNotWriteableException, cms::CMSException );
-
- /**
- * Gets the bytes that are contained in this message, user should
- * copy this data into a user allocated buffer. Call
- * <code>getBodyLength</code> to determine the number of bytes
- * to expect.
- *
- * @return const pointer to a byte buffer
- *
- * @throws CMSException - If an internal error occurs.
- * @throws MessageNotReadableException - If the message is in Write Only Mode.
- */
- virtual unsigned char* getBodyBytes() const
- throw( cms::MessageNotReadableException, cms::CMSException );
-
- /**
- * Returns the number of bytes contained in the body of this message.
- *
- * @return number of bytes.
- *
- * @throws CMSException - If an internal error occurs.
- * @throws MessageNotReadableException - If the message is in Write Only Mode.
- */
- virtual int getBodyLength() const
- throw( cms::MessageNotReadableException, cms::CMSException );
-
- /**
- * Puts the message body in read-only mode and repositions the stream
- * of bytes to the beginning.
- *
- * @throws CMSException - If the provider fails to perform the reset operation.
- * @throws MessageFormatException - If the Message has an invalid format.
- */
- virtual void reset() throw ( cms::MessageFormatException, cms::CMSException );
-
- /**
- * Reads a Boolean from the Bytes message stream
- * @returns boolean value from stream
- *
- * @throws CMSException - if the CMS provider fails to read the message due to
- * some internal error.
- * @throws MessageEOFException - if unexpected end of bytes stream has been reached.
- * @throws MessageNotReadableException - if the message is in write-only mode.
- */
- virtual bool readBoolean() const throw ( cms::MessageEOFException,
- cms::MessageNotReadableException,
- cms::CMSException );
-
- /**
- * Writes a boolean to the bytes message stream as a 1-byte value.
- * The value true is written as the value (byte)1; the value false
- * is written as the value (byte)0.
- *
- * @param value
- * boolean to write to the stream
- *
- * @throws CMSException - if the CMS provider fails to write the message due to
- * some internal error.
- * @throws MessageNotWriteableException - if the message is in read-only mode.
- */
- virtual void writeBoolean( bool value ) throw ( cms::MessageNotWriteableException,
- cms::CMSException );
-
- /**
- * Reads a Byte from the Bytes message stream
- *
- * @returns unsigned char value from stream
- *
- * @throws CMSException - if the CMS provider fails to read the message due to
- * some internal error.
- * @throws MessageEOFException - if unexpected end of bytes stream has been reached.
- * @throws MessageNotReadableException - if the message is in write-only mode.
- */
- virtual unsigned char readByte() const throw ( cms::MessageEOFException,
- cms::MessageNotReadableException,
- cms::CMSException );
-
- /**
- * Writes a byte to the bytes message stream as a 1-byte value
- *
- * @param value
- * byte to write to the stream
- *
- * @throws CMSException - if the CMS provider fails to write the message due to
- * some internal error.
- * @throws MessageNotWriteableException - if the message is in read-only mode.
- */
- virtual void writeByte( unsigned char value ) throw ( cms::MessageNotWriteableException,
- cms::CMSException );
-
- /**
- * Reads a byte array from the bytes message stream.
- *
- * If the length of vector value is less than the number of bytes
- * remaining to be read from the stream, the vector should be filled. A
- * subsequent call reads the next increment, and so on.
- *
- * If the number of bytes remaining in the stream is less than the
- * length of vector value, the bytes should be read into the vector. The
- * return value of the total number of bytes read will be less than the
- * length of the vector, indicating that there are no more bytes left to
- * be read from the stream. The next read of the stream returns -1.
- *
- * @param value
- * buffer to place data in
- * @returns the total number of bytes read into the buffer, or -1 if
- * there is no more data because the end of the stream has
- * been reached
- *
- * @throws CMSException - if the CMS provider fails to read the message due to
- * some internal error.
- * @throws MessageEOFException - if unexpected end of bytes stream has been reached.
- * @throws MessageNotReadableException - if the message is in write-only mode.
- */
- virtual int readBytes( std::vector<unsigned char>& value ) const
- throw ( cms::MessageEOFException,
- cms::MessageNotReadableException,
- cms::CMSException );
-
- /**
- * Writes a byte array to the bytes message stream using the vector
- * size as the number of bytes to write.
- *
- * @param value
- * bytes to write to the stream
- *
- * @throws CMSException - if the CMS provider fails to write the message due to
- * some internal error.
- * @throws MessageNotWriteableException - if the message is in read-only mode.
- */
- virtual void writeBytes( const std::vector<unsigned char>& value )
- throw ( cms::MessageNotWriteableException, cms::CMSException );
-
- /**
- * Reads a portion of the bytes message stream.
- *
- * If the length of array value is less than the number of bytes
- * remaining to be read from the stream, the array should be filled. A
- * subsequent call reads the next increment, and so on.
- *
- * If the number of bytes remaining in the stream is less than the
- * length of array value, the bytes should be read into the array. The
- * return value of the total number of bytes read will be less than the
- * length of the array, indicating that there are no more bytes left to
- * be read from the stream. The next read of the stream returns -1.
- *
- * If length is negative, or length is greater than the length of the
- * array value, then an IndexOutOfBoundsException is thrown. No bytes
- * will be read from the stream for this exception case.
- *
- * @param buffer
- * the buffer into which the data is read
- * @param length
- * the number of bytes to read; must be less than or equal to
- * value.length
- * @returns the total number of bytes read into the buffer, or -1 if
- * there is no more data because the end of the stream has
- * been reached
- *
- * @throws CMSException - if the CMS provider fails to read the message due to
- * some internal error.
- * @throws MessageEOFException - if unexpected end of bytes stream has been reached.
- * @throws MessageNotReadableException - if the message is in write-only mode.
- */
- virtual int readBytes( unsigned char* buffer, int length ) const
- throw ( cms::MessageEOFException,
- cms::MessageNotReadableException,
- cms::CMSException );
-
- /**
- * Writes a portion of a byte array to the bytes message stream.
- * size as the number of bytes to write.
- *
- * @param value
- * bytes to write to the stream
- * @param offset
- * the initial offset within the byte array
- * @param length
- * the number of bytes to use
- *
- * @throws CMSException - if the CMS provider fails to write the message due to
- * some internal error.
- * @throws MessageNotWriteableException - if the message is in read-only mode.
- */
- virtual void writeBytes( const unsigned char* value, int offset, int length )
- throw ( cms::MessageNotWriteableException, cms::CMSException );
-
- /**
- * Reads a Char from the Bytes message stream
- *
- * @returns char value from stream
- *
- * @throws CMSException - if the CMS provider fails to read the message due to
- * some internal error.
- * @throws MessageEOFException - if unexpected end of bytes stream has been reached.
- * @throws MessageNotReadableException - if the message is in write-only mode.
- */
- virtual char readChar() const throw ( cms::MessageEOFException,
- cms::MessageNotReadableException,
- cms::CMSException );
-
- /**
- * Writes a char to the bytes message stream as a 1-byte value
- *
- * @param value
- * char to write to the stream
- *
- * @throws CMSException - if the CMS provider fails to write the message due to
- * some internal error.
- * @throws MessageNotWriteableException - if the message is in read-only mode.
- */
- virtual void writeChar( char value ) throw ( cms::MessageNotWriteableException,
- cms::CMSException );
-
- /**
- * Reads a 32 bit float from the Bytes message stream
- *
- * @returns double value from stream
- *
- * @throws CMSException - if the CMS provider fails to read the message due to
- * some internal error.
- * @throws MessageEOFException - if unexpected end of bytes stream has been reached.
- * @throws MessageNotReadableException - if the message is in write-only mode.
- */
- virtual float readFloat() const throw ( cms::MessageEOFException,
- cms::MessageNotReadableException,
- cms::CMSException );
-
- /**
- * Writes a float to the bytes message stream as a 4 byte value
- * @param value
- * float to write to the stream
- *
- * @throws CMSException - if the CMS provider fails to write the message due to
- * some internal error.
- * @throws MessageNotWriteableException - if the message is in read-only mode.
- */
- virtual void writeFloat( float value ) throw ( cms::MessageNotWriteableException,
- cms::CMSException );
-
- /**
- * Reads a 64 bit double from the Bytes message stream
- *
- * @returns double value from stream
- *
- * @throws CMSException - if the CMS provider fails to read the message due to
- * some internal error.
- * @throws MessageEOFException - if unexpected end of bytes stream has been reached.
- * @throws MessageNotReadableException - if the message is in write-only mode.
- */
- virtual double readDouble() const throw ( cms::MessageEOFException,
- cms::MessageNotReadableException,
- cms::CMSException );
-
- /**
- * Writes a double to the bytes message stream as a 8 byte value
- * @param value
- * double to write to the stream
- *
- * @throws CMSException - if the CMS provider fails to write the message due to
- * some internal error.
- * @throws MessageNotWriteableException - if the message is in read-only mode.
- */
- virtual void writeDouble( double value ) throw ( cms::MessageNotWriteableException,
- cms::CMSException );
-
- /**
- * Reads a 16 bit signed short from the Bytes message stream
- *
- * @returns short value from stream
- *
- * @throws CMSException - if the CMS provider fails to read the message due to
- * some internal error.
- * @throws MessageEOFException - if unexpected end of bytes stream has been reached.
- * @throws MessageNotReadableException - if the message is in write-only mode.
- */
- virtual short readShort() const throw ( cms::MessageEOFException,
- cms::MessageNotReadableException,
- cms::CMSException );
-
- /**
- * Writes a signed short to the bytes message stream as a 2 byte value
- *
- * @param value
- * signed short to write to the stream
- *
- * @throws CMSException - if the CMS provider fails to write the message due to
- * some internal error.
- * @throws MessageNotWriteableException - if the message is in read-only mode.
- */
- virtual void writeShort( short value ) throw ( cms::MessageNotWriteableException,
- cms::CMSException );
-
- /**
- * Reads a 16 bit unsigned short from the Bytes message stream
- *
- * @returns unsigned short value from stream
- *
- * @throws CMSException - if the CMS provider fails to read the message due to
- * some internal error.
- * @throws MessageEOFException - if unexpected end of bytes stream has been reached.
- * @throws MessageNotReadableException - if the message is in write-only mode.
- */
- virtual unsigned short readUnsignedShort() const throw ( cms::MessageEOFException,
- cms::MessageNotReadableException,
- cms::CMSException );
-
- /**
- * Writes a unsigned short to the bytes message stream as a 2 byte value
- *
- * @param value
- * unsigned short to write to the stream
- *
- * @throws CMSException - if the CMS provider fails to write the message due to
- * some internal error.
- * @throws MessageNotWriteableException - if the message is in read-only mode.
- */
- virtual void writeUnsignedShort( unsigned short value )
- throw ( cms::MessageNotWriteableException, cms::CMSException );
-
- /**
- * Reads a 32 bit signed integer from the Bytes message stream
- *
- * @returns int value from stream
- *
- * @throws CMSException - if the CMS provider fails to read the message due to
- * some internal error.
- * @throws MessageEOFException - if unexpected end of bytes stream has been reached.
- * @throws MessageNotReadableException - if the message is in write-only mode.
- */
- virtual int readInt() const throw ( cms::MessageEOFException,
- cms::MessageNotReadableException,
- cms::CMSException );
-
- /**
- * Writes a signed int to the bytes message stream as a 4 byte value
- *
- * @param value
- * signed int to write to the stream
- *
- * @throws CMSException - if the CMS provider fails to write the message due to
- * some internal error.
- * @throws MessageNotWriteableException - if the message is in read-only mode.
- */
- virtual void writeInt( int value ) throw ( cms::MessageNotWriteableException,
- cms::CMSException );
-
- /**
- * Reads a 64 bit long from the Bytes message stream
- *
- * @returns long long value from stream
- *
- * @throws CMSException - if the CMS provider fails to read the message due to
- * some internal error.
- * @throws MessageEOFException - if unexpected end of bytes stream has been reached.
- * @throws MessageNotReadableException - if the message is in write-only mode.
- */
- virtual long long readLong() const throw ( cms::MessageEOFException,
- cms::MessageNotReadableException,
- cms::CMSException );
-
- /**
- * Writes a long long to the bytes message stream as a 8 byte value
- *
- * @param value
- * signed long long to write to the stream
- *
- * @throws CMSException - if the CMS provider fails to write the message due to
- * some internal error.
- * @throws MessageNotWriteableException - if the message is in read-only mode.
- */
- virtual void writeLong( long long value ) throw ( cms::MessageNotWriteableException,
- cms::CMSException );
-
- /**
- * Reads an ASCII String from the Bytes message stream
- *
- * @returns String from stream
- *
- * @throws CMSException - if the CMS provider fails to read the message due to
- * some internal error.
- * @throws MessageEOFException - if unexpected end of bytes stream has been reached.
- * @throws MessageNotReadableException - if the message is in write-only mode.
- */
- virtual std::string readString() const throw ( cms::MessageEOFException,
- cms::MessageNotReadableException,
- cms::CMSException );
-
- /**
- * Writes an ASCII String to the Bytes message stream
- *
- * @param value
- * String to write to the stream
- *
- * @throws CMSException - if the CMS provider fails to write the message due to
- * some internal error.
- * @throws MessageNotWriteableException - if the message is in read-only mode.
- */
- virtual void writeString( const std::string& value )
- throw ( cms::MessageNotWriteableException, cms::CMSException );
-
- /**
- * Reads an UTF String from the BytesMessage stream
- *
- * @returns String from stream
- *
- * @throws CMSException - if the CMS provider fails to read the message due to
- * some internal error.
- * @throws MessageEOFException - if unexpected end of bytes stream has been reached.
- * @throws MessageNotReadableException - if the message is in write-only mode.
- */
- virtual std::string readUTF() const throw ( cms::MessageEOFException,
- cms::MessageNotReadableException,
- cms::CMSException );
-
- /**
- * Writes an UTF String to the BytesMessage stream
- *
- * @param value
- * String to write to the stream
- *
- * @throws CMSException - if the CMS provider fails to read the message due to
- * some internal error.
- * @throws MessageEOFException - if unexpected end of bytes stream has been reached.
- * @throws MessageNotReadableException - if the message is in write-only mode.
- */
- virtual void writeUTF( const std::string& value )
- throw ( cms::MessageNotWriteableException, cms::CMSException );
+ virtual void setBodyBytes( const unsigned char* buffer, int numBytes );
+
+ virtual unsigned char* getBodyBytes() const;
+
+ virtual int getBodyLength() const;
+
+ virtual void reset();
+
+ virtual bool readBoolean() const;
+
+ virtual void writeBoolean( bool value );
+
+ virtual unsigned char readByte() const;
+
+ virtual void writeByte( unsigned char value );
+
+ virtual int readBytes( std::vector<unsigned char>& value ) const;
+
+ virtual void writeBytes( const std::vector<unsigned char>& value );
+
+ virtual int readBytes( unsigned char* buffer, int length ) const;
+
+ virtual void writeBytes( const unsigned char* value, int offset, int length );
+
+ virtual char readChar() const;
+
+ virtual void writeChar( char value );
+
+ virtual float readFloat() const;
+
+ virtual void writeFloat( float value );
+
+ virtual double readDouble() const;
+
+ virtual void writeDouble( double value );
+
+ virtual short readShort() const;
+
+ virtual void writeShort( short value );
+
+ virtual unsigned short readUnsignedShort() const;
+
+ virtual void writeUnsignedShort( unsigned short value );
+
+ virtual int readInt() const;
+
+ virtual void writeInt( int value );
+
+ virtual long long readLong() const;
+
+ virtual void writeLong( long long value );
+
+ virtual std::string readString() const;
+
+ virtual void writeString( const std::string& value );
+
+ virtual std::string readUTF() const;
+
+ virtual void writeUTF( const std::string& value );
private:
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQDestination.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQDestination.cpp?rev=959054&r1=959053&r2=959054&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQDestination.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQDestination.cpp Tue Jun 29 17:58:29 2010
@@ -72,6 +72,10 @@ ActiveMQDestination::ActiveMQDestination
}
////////////////////////////////////////////////////////////////////////////////
+ActiveMQDestination::~ActiveMQDestination() throw() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
void ActiveMQDestination::setPhysicalName( const std::string& physicalName ) {
this->physicalName = physicalName;
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQDestination.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQDestination.h?rev=959054&r1=959053&r2=959054&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQDestination.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQDestination.h Tue Jun 29 17:58:29 2010
@@ -101,40 +101,21 @@ namespace commands{
public:
ActiveMQDestination();
+
ActiveMQDestination( const std::string& physicalName );
- virtual ~ActiveMQDestination() throw() {}
- /**
- * Clone this object and return a new instance that the
- * caller now owns, this will be an exact copy of this one
- * @returns new copy of this object.
- */
+ virtual ~ActiveMQDestination() throw();
+
virtual ActiveMQDestination* cloneDataStructure() const {
return NULL;
}
- /**
- * Copy the contents of the passed object into this objects
- * members, overwriting any existing data.
- * @return src - Source Object
- */
virtual void copyDataStructure( const DataStructure* src );
- /**
- * Compares the DataStructure passed in to this one, and returns if
- * they are equivalent. Equivalent here means that they are of the
- * same type, and that each element of the objects are the same.
- * @returns true if DataStructure's are Equal.
- */
virtual bool equals( const DataStructure* value ) const;
virtual unsigned char getDataStructureType() const;
- /**
- * Returns a string containing the information for this DataStructure
- * such as its type and value of its elements.
- * @return formatted string useful for debugging.
- */
virtual std::string toString() const;
/**
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.h?rev=959054&r1=959053&r2=959054&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.h Tue Jun 29 17:58:29 2010
@@ -60,63 +60,25 @@ namespace commands{
virtual unsigned char getDataStructureType() const;
- /**
- * Determine if this object is aware of marshaling and should have
- * its before and after marshaling methods called. Defaults to false.
- * @returns true if aware of marshaling
- */
virtual bool isMarshalAware() const {
return true;
}
- /**
- * Clone this object and return a new instance that the
- * caller now owns, this will be an exact copy of this one
- * @returns new copy of this object.
- */
virtual ActiveMQMapMessage* cloneDataStructure() const;
- /**
- * Copy the contents of the passed object into this objects
- * members, overwriting any existing data.
- * @return src - Source Object
- */
virtual void copyDataStructure( const DataStructure* src );
- /**
- * Perform any processing needed before an marshal
- * @param wireFormat - the OpenWireFormat object in use.
- */
virtual void beforeMarshal( wireformat::WireFormat* wireFormat )
throw ( decaf::io::IOException );
- /**
- * Returns a string containing the information for this DataStructure
- * such as its type and value of its elements.
- * @return formatted string useful for debugging.
- */
virtual std::string toString() const;
- /**
- * Compares the DataStructure passed in to this one, and returns if
- * they are equivalent. Equivalent here means that they are of the
- * same type, and that each element of the objects are the same.
- * @returns true if DataStructure's are Equal.
- */
+
virtual bool equals( const DataStructure* value ) const;
- /**
- * Clears out the body of the message. This does not clear the
- * headers or properties.
- */
virtual void clearBody() throw( cms::CMSException );
public: // CMS Message
- /**
- * Clone this message exactly, returns a new instance that the
- * caller is required to delete.
- * @return new copy of this message
- */
virtual cms::MapMessage* clone() const {
return dynamic_cast<cms::MapMessage*>( this->cloneDataStructure() );
}
@@ -255,7 +217,7 @@ namespace commands{
* Performs the unmarshal on the Map if needed, otherwise just returns
*
* @throws NullPointerException if the internal Map is Null.
-s */
+ */
virtual void checkMapIsUnmarshalled() const;
};
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMessage.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMessage.h?rev=959054&r1=959053&r2=959054&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMessage.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMessage.h Tue Jun 29 17:58:29 2010
@@ -45,46 +45,21 @@ namespace commands{
public:
ActiveMQMessage();
+
virtual ~ActiveMQMessage() throw() {}
virtual unsigned char getDataStructureType() const;
- /**
- * Copy the contents of the passed object into this objects
- * members, overwriting any existing data.
- * @return src - Source Object
- */
virtual void copyDataStructure( const DataStructure* src );
- /**
- * Clone this object and return a new instance that the
- * caller now owns, this will be an exact copy of this one
- * @returns new copy of this object.
- */
virtual ActiveMQMessage* cloneDataStructure() const;
- /**
- * Returns a string containing the information for this DataStructure
- * such as its type and value of its elements.
- * @return formatted string useful for debugging.
- */
virtual std::string toString() const;
- /**
- * Compares the DataStructure passed in to this one, and returns if
- * they are equivalent. Equivalent here means that they are of the
- * same type, and that each element of the objects are the same.
- * @returns true if DataStructure's are Equal.
- */
virtual bool equals( const DataStructure* value ) const;
public: // cms::Message
- /**
- * Clone this message exactly, returns a new instance that the
- * caller is required to delete.
- * @return new copy of this message
- */
virtual cms::Message* clone() const {
return dynamic_cast<cms::Message*>( this->cloneDataStructure() );
}