18#ifndef _ACTIVEMQ_COMMANDS_CONNECTIONERROR_H_
19#define _ACTIVEMQ_COMMANDS_CONNECTIONERROR_H_
23#pragma warning( disable : 4290 )
56 const static unsigned char ID_CONNECTIONERROR = 16;
#define AMQCPP_API
Definition: Config.h:30
Definition: BaseCommand.h:27
Definition: ConnectionError.h:48
virtual std::string toString() const
Returns a string containing the information for this DataStructure such as its type and value of its ...
virtual Pointer< BrokerError > & getException()
virtual Pointer< Command > visit(activemq::state::CommandVisitor *visitor)
Allows a Visitor to visit this command and return a response to the command based on the command type...
virtual unsigned char getDataStructureType() const
Get the DataStructure Type as defined in CommandTypes.h.
virtual Pointer< ConnectionId > & getConnectionId()
virtual void setConnectionId(const Pointer< ConnectionId > &connectionId)
Pointer< BrokerError > exception
Definition: ConnectionError.h:51
virtual const Pointer< ConnectionId > & getConnectionId() const
virtual ConnectionError * cloneDataStructure() const
Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of ...
virtual const Pointer< BrokerError > & getException() const
virtual void copyDataStructure(const DataStructure *src)
Copy the contents of the passed object into this objects members, overwriting any existing data.
virtual ~ConnectionError()
virtual bool isConnectionError() const
Definition: ConnectionError.h:90
virtual void setException(const Pointer< BrokerError > &exception)
Pointer< ConnectionId > connectionId
Definition: ConnectionError.h:52
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
Definition: DataStructure.h:27
Interface for an Object that can visit the various Command Objects that are sent from and to this cli...
Definition: CommandVisitor.h:69
Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the defa...
Definition: Pointer.h:53
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: CachedConsumer.h:24