[prev in list] [next in list] [prev in thread] [next in thread]
List: activemq-commits
Subject: svn commit: r747896 [2/2] - in /activemq/activemq-cpp/trunk:
From: tabish () apache ! org
Date: 2009-02-25 19:32:15
Message-ID: 20090225193217.9F174238899B () eris ! apache ! org
[Download RAW message or body]
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/MessagePull.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/MessagePull.h?rev=747896&r1=747895&r2=747896&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/MessagePull.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/MessagePull.h Wed Feb 25 \
19:32:13 2009 @@ -36,6 +36,8 @@
namespace activemq{
namespace commands{
+ using decaf::lang::Pointer;
+
/*
*
* Command code for OpenWire format for MessagePull
@@ -48,11 +50,11 @@
class AMQCPP_API MessagePull : public BaseCommand {
protected:
- decaf::lang::Pointer<ConsumerId> consumerId;
- decaf::lang::Pointer<ActiveMQDestination> destination;
+ Pointer<ConsumerId> consumerId;
+ Pointer<ActiveMQDestination> destination;
long long timeout;
std::string correlationId;
- decaf::lang::Pointer<MessageId> messageId;
+ Pointer<MessageId> messageId;
public:
@@ -105,13 +107,13 @@
*/
virtual bool equals( const DataStructure* value ) const;
- virtual const decaf::lang::Pointer<ConsumerId>& getConsumerId() const;
- virtual decaf::lang::Pointer<ConsumerId>& getConsumerId();
- virtual void setConsumerId( const decaf::lang::Pointer<ConsumerId>& \
consumerId );
-
- virtual const decaf::lang::Pointer<ActiveMQDestination>& getDestination() \
const;
- virtual decaf::lang::Pointer<ActiveMQDestination>& getDestination();
- virtual void setDestination( const \
decaf::lang::Pointer<ActiveMQDestination>& destination ); + virtual const \
Pointer<ConsumerId>& getConsumerId() const; + virtual Pointer<ConsumerId>& \
getConsumerId(); + virtual void setConsumerId( const Pointer<ConsumerId>& \
consumerId ); +
+ virtual const Pointer<ActiveMQDestination>& getDestination() const;
+ virtual Pointer<ActiveMQDestination>& getDestination();
+ virtual void setDestination( const Pointer<ActiveMQDestination>& destination \
);
virtual long long getTimeout() const;
virtual void setTimeout( long long timeout );
@@ -120,9 +122,9 @@
virtual std::string& getCorrelationId();
virtual void setCorrelationId( const std::string& correlationId );
- virtual const decaf::lang::Pointer<MessageId>& getMessageId() const;
- virtual decaf::lang::Pointer<MessageId>& getMessageId();
- virtual void setMessageId( const decaf::lang::Pointer<MessageId>& messageId \
); + virtual const Pointer<MessageId>& getMessageId() const;
+ virtual Pointer<MessageId>& getMessageId();
+ virtual void setMessageId( const Pointer<MessageId>& messageId );
/**
* Allows a Visitor to visit this command and return a response to the
@@ -131,7 +133,7 @@
*
* @return a Response to the visitor being called or NULL if no response.
*/
- virtual decaf::lang::Pointer<commands::Command> visit( \
activemq::state::CommandVisitor* visitor ) + virtual Pointer<Command> visit( \
activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException );
};
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/NetworkBridgeFilter.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/NetworkBridgeFilter.h?rev=747896&r1=747895&r2=747896&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/NetworkBridgeFilter.h \
(original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/NetworkBridgeFilter.h Wed \
Feb 25 19:32:13 2009 @@ -34,6 +34,8 @@
namespace activemq{
namespace commands{
+ using decaf::lang::Pointer;
+
/*
*
* Command code for OpenWire format for NetworkBridgeFilter
@@ -47,7 +49,7 @@
protected:
int networkTTL;
- decaf::lang::Pointer<BrokerId> networkBrokerId;
+ Pointer<BrokerId> networkBrokerId;
public:
@@ -103,9 +105,9 @@
virtual int getNetworkTTL() const;
virtual void setNetworkTTL( int networkTTL );
- virtual const decaf::lang::Pointer<BrokerId>& getNetworkBrokerId() const;
- virtual decaf::lang::Pointer<BrokerId>& getNetworkBrokerId();
- virtual void setNetworkBrokerId( const decaf::lang::Pointer<BrokerId>& \
networkBrokerId ); + virtual const Pointer<BrokerId>& getNetworkBrokerId() \
const; + virtual Pointer<BrokerId>& getNetworkBrokerId();
+ virtual void setNetworkBrokerId( const Pointer<BrokerId>& networkBrokerId );
};
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/PartialCommand.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/PartialCommand.h?rev=747896&r1=747895&r2=747896&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/PartialCommand.h \
(original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/PartialCommand.h Wed Feb \
25 19:32:13 2009 @@ -33,6 +33,8 @@
namespace activemq{
namespace commands{
+ using decaf::lang::Pointer;
+
/*
*
* Command code for OpenWire format for PartialCommand
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerAck.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerAck.h?rev=747896&r1=747895&r2=747896&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerAck.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerAck.h Wed Feb 25 \
19:32:13 2009 @@ -34,6 +34,8 @@
namespace activemq{
namespace commands{
+ using decaf::lang::Pointer;
+
/*
*
* Command code for OpenWire format for ProducerAck
@@ -46,7 +48,7 @@
class AMQCPP_API ProducerAck : public BaseCommand {
protected:
- decaf::lang::Pointer<ProducerId> producerId;
+ Pointer<ProducerId> producerId;
int size;
public:
@@ -100,9 +102,9 @@
*/
virtual bool equals( const DataStructure* value ) const;
- virtual const decaf::lang::Pointer<ProducerId>& getProducerId() const;
- virtual decaf::lang::Pointer<ProducerId>& getProducerId();
- virtual void setProducerId( const decaf::lang::Pointer<ProducerId>& \
producerId ); + virtual const Pointer<ProducerId>& getProducerId() const;
+ virtual Pointer<ProducerId>& getProducerId();
+ virtual void setProducerId( const Pointer<ProducerId>& producerId );
virtual int getSize() const;
virtual void setSize( int size );
@@ -121,7 +123,7 @@
*
* @return a Response to the visitor being called or NULL if no response.
*/
- virtual decaf::lang::Pointer<commands::Command> visit( \
activemq::state::CommandVisitor* visitor ) + virtual Pointer<Command> visit( \
activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException );
};
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerId.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerId.h?rev=747896&r1=747895&r2=747896&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerId.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerId.h Wed Feb 25 \
19:32:13 2009 @@ -34,6 +34,8 @@
namespace activemq{
namespace commands{
+ using decaf::lang::Pointer;
+
/*
*
* Command code for OpenWire format for ProducerId
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerInfo.h?rev=747896&r1=747895&r2=747896&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerInfo.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerInfo.h Wed Feb 25 \
19:32:13 2009 @@ -36,6 +36,8 @@
namespace activemq{
namespace commands{
+ using decaf::lang::Pointer;
+
/*
*
* Command code for OpenWire format for ProducerInfo
@@ -48,8 +50,8 @@
class AMQCPP_API ProducerInfo : public BaseCommand {
protected:
- decaf::lang::Pointer<ProducerId> producerId;
- decaf::lang::Pointer<ActiveMQDestination> destination;
+ Pointer<ProducerId> producerId;
+ Pointer<ActiveMQDestination> destination;
std::vector< decaf::lang::Pointer<BrokerId> > brokerPath;
bool dispatchAsync;
int windowSize;
@@ -105,13 +107,13 @@
*/
virtual bool equals( const DataStructure* value ) const;
- virtual const decaf::lang::Pointer<ProducerId>& getProducerId() const;
- virtual decaf::lang::Pointer<ProducerId>& getProducerId();
- virtual void setProducerId( const decaf::lang::Pointer<ProducerId>& \
producerId );
-
- virtual const decaf::lang::Pointer<ActiveMQDestination>& getDestination() \
const;
- virtual decaf::lang::Pointer<ActiveMQDestination>& getDestination();
- virtual void setDestination( const \
decaf::lang::Pointer<ActiveMQDestination>& destination ); + virtual const \
Pointer<ProducerId>& getProducerId() const; + virtual Pointer<ProducerId>& \
getProducerId(); + virtual void setProducerId( const Pointer<ProducerId>& \
producerId ); +
+ virtual const Pointer<ActiveMQDestination>& getDestination() const;
+ virtual Pointer<ActiveMQDestination>& getDestination();
+ virtual void setDestination( const Pointer<ActiveMQDestination>& destination \
);
virtual const std::vector< decaf::lang::Pointer<BrokerId> >& getBrokerPath() \
const;
virtual std::vector< decaf::lang::Pointer<BrokerId> >& getBrokerPath();
@@ -130,7 +132,7 @@
*
* @return a Response to the visitor being called or NULL if no response.
*/
- virtual decaf::lang::Pointer<commands::Command> visit( \
activemq::state::CommandVisitor* visitor ) + virtual Pointer<Command> visit( \
activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException );
};
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveInfo.h?rev=747896&r1=747895&r2=747896&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveInfo.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveInfo.h Wed Feb 25 \
19:32:13 2009 @@ -34,6 +34,8 @@
namespace activemq{
namespace commands{
+ using decaf::lang::Pointer;
+
/*
*
* Command code for OpenWire format for RemoveInfo
@@ -46,7 +48,7 @@
class AMQCPP_API RemoveInfo : public BaseCommand {
protected:
- decaf::lang::Pointer<DataStructure> objectId;
+ Pointer<DataStructure> objectId;
public:
@@ -99,9 +101,9 @@
*/
virtual bool equals( const DataStructure* value ) const;
- virtual const decaf::lang::Pointer<DataStructure>& getObjectId() const;
- virtual decaf::lang::Pointer<DataStructure>& getObjectId();
- virtual void setObjectId( const decaf::lang::Pointer<DataStructure>& \
objectId ); + virtual const Pointer<DataStructure>& getObjectId() const;
+ virtual Pointer<DataStructure>& getObjectId();
+ virtual void setObjectId( const Pointer<DataStructure>& objectId );
/**
* Allows a Visitor to visit this command and return a response to the
@@ -110,7 +112,7 @@
*
* @return a Response to the visitor being called or NULL if no response.
*/
- virtual decaf::lang::Pointer<commands::Command> visit( \
activemq::state::CommandVisitor* visitor ) + virtual Pointer<Command> visit( \
activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException );
};
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.h?rev=747896&r1=747895&r2=747896&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.h \
(original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/RemoveSubscriptionInfo.h \
Wed Feb 25 19:32:13 2009 @@ -34,6 +34,8 @@
namespace activemq{
namespace commands{
+ using decaf::lang::Pointer;
+
/*
*
* Command code for OpenWire format for RemoveSubscriptionInfo
@@ -46,7 +48,7 @@
class AMQCPP_API RemoveSubscriptionInfo : public BaseCommand {
protected:
- decaf::lang::Pointer<ConnectionId> connectionId;
+ Pointer<ConnectionId> connectionId;
std::string subcriptionName;
std::string clientId;
@@ -101,9 +103,9 @@
*/
virtual bool equals( const DataStructure* value ) const;
- virtual const decaf::lang::Pointer<ConnectionId>& getConnectionId() const;
- virtual decaf::lang::Pointer<ConnectionId>& getConnectionId();
- virtual void setConnectionId( const decaf::lang::Pointer<ConnectionId>& \
connectionId ); + virtual const Pointer<ConnectionId>& getConnectionId() \
const; + virtual Pointer<ConnectionId>& getConnectionId();
+ virtual void setConnectionId( const Pointer<ConnectionId>& connectionId );
virtual const std::string& getSubcriptionName() const;
virtual std::string& getSubcriptionName();
@@ -120,7 +122,7 @@
*
* @return a Response to the visitor being called or NULL if no response.
*/
- virtual decaf::lang::Pointer<commands::Command> visit( \
activemq::state::CommandVisitor* visitor ) + virtual Pointer<Command> visit( \
activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException );
};
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.h?rev=747896&r1=747895&r2=747896&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ReplayCommand.h Wed Feb 25 \
19:32:13 2009 @@ -33,6 +33,8 @@
namespace activemq{
namespace commands{
+ using decaf::lang::Pointer;
+
/*
*
* Command code for OpenWire format for ReplayCommand
@@ -112,7 +114,7 @@
*
* @return a Response to the visitor being called or NULL if no response.
*/
- virtual decaf::lang::Pointer<commands::Command> visit( \
activemq::state::CommandVisitor* visitor ) + virtual Pointer<Command> visit( \
activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException );
};
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.h?rev=747896&r1=747895&r2=747896&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/Response.h Wed Feb 25 \
19:32:13 2009 @@ -33,6 +33,8 @@
namespace activemq{
namespace commands{
+ using decaf::lang::Pointer;
+
/*
*
* Command code for OpenWire format for Response
@@ -115,7 +117,7 @@
*
* @return a Response to the visitor being called or NULL if no response.
*/
- virtual decaf::lang::Pointer<commands::Command> visit( \
activemq::state::CommandVisitor* visitor ) + virtual Pointer<Command> visit( \
activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException );
};
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.h?rev=747896&r1=747895&r2=747896&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.h Wed Feb 25 \
19:32:13 2009 @@ -34,6 +34,8 @@
namespace activemq{
namespace commands{
+ using decaf::lang::Pointer;
+
/*
*
* Command code for OpenWire format for SessionId
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.h?rev=747896&r1=747895&r2=747896&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionInfo.h Wed Feb 25 \
19:32:13 2009 @@ -34,6 +34,8 @@
namespace activemq{
namespace commands{
+ using decaf::lang::Pointer;
+
/*
*
* Command code for OpenWire format for SessionInfo
@@ -46,7 +48,7 @@
class AMQCPP_API SessionInfo : public BaseCommand {
protected:
- decaf::lang::Pointer<SessionId> sessionId;
+ Pointer<SessionId> sessionId;
public:
@@ -99,9 +101,9 @@
*/
virtual bool equals( const DataStructure* value ) const;
- virtual const decaf::lang::Pointer<SessionId>& getSessionId() const;
- virtual decaf::lang::Pointer<SessionId>& getSessionId();
- virtual void setSessionId( const decaf::lang::Pointer<SessionId>& sessionId \
); + virtual const Pointer<SessionId>& getSessionId() const;
+ virtual Pointer<SessionId>& getSessionId();
+ virtual void setSessionId( const Pointer<SessionId>& sessionId );
/**
* Allows a Visitor to visit this command and return a response to the
@@ -110,7 +112,7 @@
*
* @return a Response to the visitor being called or NULL if no response.
*/
- virtual decaf::lang::Pointer<commands::Command> visit( \
activemq::state::CommandVisitor* visitor ) + virtual Pointer<Command> visit( \
activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException );
};
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.h?rev=747896&r1=747895&r2=747896&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ShutdownInfo.h Wed Feb 25 \
19:32:13 2009 @@ -33,6 +33,8 @@
namespace activemq{
namespace commands{
+ using decaf::lang::Pointer;
+
/*
*
* Command code for OpenWire format for ShutdownInfo
@@ -111,7 +113,7 @@
*
* @return a Response to the visitor being called or NULL if no response.
*/
- virtual decaf::lang::Pointer<commands::Command> visit( \
activemq::state::CommandVisitor* visitor ) + virtual Pointer<Command> visit( \
activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException );
};
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.h?rev=747896&r1=747895&r2=747896&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.h \
(original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/SubscriptionInfo.h Wed Feb \
25 19:32:13 2009 @@ -34,6 +34,8 @@
namespace activemq{
namespace commands{
+ using decaf::lang::Pointer;
+
/*
*
* Command code for OpenWire format for SubscriptionInfo
@@ -47,10 +49,10 @@
protected:
std::string clientId;
- decaf::lang::Pointer<ActiveMQDestination> destination;
+ Pointer<ActiveMQDestination> destination;
std::string selector;
std::string subcriptionName;
- decaf::lang::Pointer<ActiveMQDestination> subscribedDestination;
+ Pointer<ActiveMQDestination> subscribedDestination;
public:
@@ -107,9 +109,9 @@
virtual std::string& getClientId();
virtual void setClientId( const std::string& clientId );
- virtual const decaf::lang::Pointer<ActiveMQDestination>& getDestination() \
const;
- virtual decaf::lang::Pointer<ActiveMQDestination>& getDestination();
- virtual void setDestination( const \
decaf::lang::Pointer<ActiveMQDestination>& destination ); + virtual const \
Pointer<ActiveMQDestination>& getDestination() const; + virtual \
Pointer<ActiveMQDestination>& getDestination(); + virtual void setDestination( \
const Pointer<ActiveMQDestination>& destination );
virtual const std::string& getSelector() const;
virtual std::string& getSelector();
@@ -119,9 +121,9 @@
virtual std::string& getSubcriptionName();
virtual void setSubcriptionName( const std::string& subcriptionName );
- virtual const decaf::lang::Pointer<ActiveMQDestination>& \
getSubscribedDestination() const;
- virtual decaf::lang::Pointer<ActiveMQDestination>& \
getSubscribedDestination();
- virtual void setSubscribedDestination( const \
decaf::lang::Pointer<ActiveMQDestination>& subscribedDestination ); + virtual \
const Pointer<ActiveMQDestination>& getSubscribedDestination() const; + \
virtual Pointer<ActiveMQDestination>& getSubscribedDestination(); + virtual \
void setSubscribedDestination( const Pointer<ActiveMQDestination>& \
subscribedDestination );
};
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.h?rev=747896&r1=747895&r2=747896&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.h Wed Feb 25 \
19:32:13 2009 @@ -34,6 +34,8 @@
namespace activemq{
namespace commands{
+ using decaf::lang::Pointer;
+
/*
*
* Command code for OpenWire format for TransactionId
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionInfo.h?rev=747896&r1=747895&r2=747896&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionInfo.h \
(original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionInfo.h Wed Feb \
25 19:32:13 2009 @@ -35,6 +35,8 @@
namespace activemq{
namespace commands{
+ using decaf::lang::Pointer;
+
/*
*
* Command code for OpenWire format for TransactionInfo
@@ -47,8 +49,8 @@
class AMQCPP_API TransactionInfo : public BaseCommand {
protected:
- decaf::lang::Pointer<ConnectionId> connectionId;
- decaf::lang::Pointer<TransactionId> transactionId;
+ Pointer<ConnectionId> connectionId;
+ Pointer<TransactionId> transactionId;
unsigned char type;
public:
@@ -102,13 +104,13 @@
*/
virtual bool equals( const DataStructure* value ) const;
- virtual const decaf::lang::Pointer<ConnectionId>& getConnectionId() const;
- virtual decaf::lang::Pointer<ConnectionId>& getConnectionId();
- virtual void setConnectionId( const decaf::lang::Pointer<ConnectionId>& \
connectionId );
-
- virtual const decaf::lang::Pointer<TransactionId>& getTransactionId() const;
- virtual decaf::lang::Pointer<TransactionId>& getTransactionId();
- virtual void setTransactionId( const decaf::lang::Pointer<TransactionId>& \
transactionId ); + virtual const Pointer<ConnectionId>& getConnectionId() \
const; + virtual Pointer<ConnectionId>& getConnectionId();
+ virtual void setConnectionId( const Pointer<ConnectionId>& connectionId );
+
+ virtual const Pointer<TransactionId>& getTransactionId() const;
+ virtual Pointer<TransactionId>& getTransactionId();
+ virtual void setTransactionId( const Pointer<TransactionId>& transactionId \
);
virtual unsigned char getType() const;
virtual void setType( unsigned char type );
@@ -120,7 +122,7 @@
*
* @return a Response to the visitor being called or NULL if no response.
*/
- virtual decaf::lang::Pointer<commands::Command> visit( \
activemq::state::CommandVisitor* visitor ) + virtual Pointer<Command> visit( \
activemq::state::CommandVisitor* visitor ) throw( exceptions::ActiveMQException );
};
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/XATransactionId.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/XATransactionId.h?rev=747896&r1=747895&r2=747896&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/XATransactionId.h \
(original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/XATransactionId.h Wed Feb \
25 19:32:13 2009 @@ -34,6 +34,8 @@
namespace activemq{
namespace commands{
+ using decaf::lang::Pointer;
+
/*
*
* Command code for OpenWire format for XATransactionId
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic