activemq-cpp-3.9.5
activemq::commands::NetworkBridgeFilter Class Reference

#include <src/main/activemq/commands/NetworkBridgeFilter.h>

Inheritance diagram for activemq::commands::NetworkBridgeFilter:

Public Member Functions

 NetworkBridgeFilter ()
 
virtual ~NetworkBridgeFilter ()
 
virtual unsigned char getDataStructureType () const
 Get the DataStructure Type as defined in CommandTypes.h.
 
virtual NetworkBridgeFiltercloneDataStructure () const
 Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of this one.
 
virtual void copyDataStructure (const DataStructure *src)
 Copy the contents of the passed object into this objects members, overwriting any existing data.
 
virtual std::string toString () const
 Returns a string containing the information for this DataStructure such as its type and value of its elements.
 
virtual bool equals (const DataStructure *value) const
 Compares the DataStructure passed in to this one, and returns if they are equivalent.
 
virtual const Pointer< BrokerId > & getNetworkBrokerId () const
 
virtual Pointer< BrokerId > & getNetworkBrokerId ()
 
virtual void setNetworkBrokerId (const Pointer< BrokerId > &networkBrokerId)
 
virtual int getMessageTTL () const
 
virtual void setMessageTTL (int messageTTL)
 
virtual int getConsumerTTL () const
 
virtual void setConsumerTTL (int consumerTTL)
 
- Public Member Functions inherited from activemq::commands::BaseDataStructure
virtual ~BaseDataStructure ()
 
virtual bool isMarshalAware () const
 Determine if the class implementing this interface is really wanting to be told about marshaling.
 
virtual void beforeMarshal (wireformat::WireFormat *wireFormat AMQCPP_UNUSED)
 
virtual void afterMarshal (wireformat::WireFormat *wireFormat AMQCPP_UNUSED)
 
virtual void beforeUnmarshal (wireformat::WireFormat *wireFormat AMQCPP_UNUSED)
 
virtual void afterUnmarshal (wireformat::WireFormat *wireFormat AMQCPP_UNUSED)
 
virtual void setMarshaledForm (wireformat::WireFormat *wireFormat AMQCPP_UNUSED, const std::vector< char > &data AMQCPP_UNUSED)
 
virtual std::vector< unsigned char > getMarshaledForm (wireformat::WireFormat *wireFormat AMQCPP_UNUSED)
 
virtual void copyDataStructure (const DataStructure *src AMQCPP_UNUSED)
 
virtual bool equals (const DataStructure *value AMQCPP_UNUSED) const
 
- Public Member Functions inherited from activemq::commands::DataStructure
virtual ~DataStructure ()
 
- Public Member Functions inherited from activemq::wireformat::MarshalAware
virtual ~MarshalAware ()
 
virtual void beforeMarshal (WireFormat *wireFormat)=0
 Called before marshaling is started to prepare the object to be marshaled.
 
virtual void afterMarshal (WireFormat *wireFormat)=0
 Called after marshaling is started to cleanup the object being marshaled.
 
virtual void beforeUnmarshal (WireFormat *wireFormat)=0
 Called before unmarshaling is started to prepare the object to be unmarshaled.
 
virtual void afterUnmarshal (WireFormat *wireFormat)=0
 Called after unmarshaling is started to cleanup the object being unmarshaled.
 
virtual void setMarshaledForm (WireFormat *wireFormat, const std::vector< char > &data)=0
 Called to set the data to this object that will contain the objects marshaled form.
 
virtual std::vector< unsigned char > getMarshaledForm (WireFormat *wireFormat)=0
 Called to get the data to this object that will contain the objects marshaled form.
 

Static Public Attributes

static const unsigned char ID_NETWORKBRIDGEFILTER = 91
 

Protected Attributes

Pointer< BrokerIdnetworkBrokerId
 
int messageTTL
 
int consumerTTL
 

Constructor & Destructor Documentation

◆ NetworkBridgeFilter()

activemq::commands::NetworkBridgeFilter::NetworkBridgeFilter ( )

◆ ~NetworkBridgeFilter()

virtual activemq::commands::NetworkBridgeFilter::~NetworkBridgeFilter ( )
virtual

Member Function Documentation

◆ cloneDataStructure()

virtual NetworkBridgeFilter * activemq::commands::NetworkBridgeFilter::cloneDataStructure ( ) const
virtual

Clone this obbject 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.

Implements activemq::commands::DataStructure.

◆ copyDataStructure()

virtual void activemq::commands::NetworkBridgeFilter::copyDataStructure ( const DataStructure * src)
virtual

Copy the contents of the passed object into this objects members, overwriting any existing data.

Returns
src - Source Object

Implements activemq::commands::DataStructure.

◆ equals()

virtual bool activemq::commands::NetworkBridgeFilter::equals ( const DataStructure * value) const
virtual

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.

Implements activemq::commands::DataStructure.

◆ getConsumerTTL()

virtual int activemq::commands::NetworkBridgeFilter::getConsumerTTL ( ) const
virtual

◆ getDataStructureType()

virtual unsigned char activemq::commands::NetworkBridgeFilter::getDataStructureType ( ) const
virtual

Get the DataStructure Type as defined in CommandTypes.h.

Returns
The type of the data structure

Implements activemq::commands::DataStructure.

◆ getMessageTTL()

virtual int activemq::commands::NetworkBridgeFilter::getMessageTTL ( ) const
virtual

◆ getNetworkBrokerId() [1/2]

virtual Pointer< BrokerId > & activemq::commands::NetworkBridgeFilter::getNetworkBrokerId ( )
virtual

◆ getNetworkBrokerId() [2/2]

virtual const Pointer< BrokerId > & activemq::commands::NetworkBridgeFilter::getNetworkBrokerId ( ) const
virtual

◆ setConsumerTTL()

virtual void activemq::commands::NetworkBridgeFilter::setConsumerTTL ( int consumerTTL)
virtual

References consumerTTL.

◆ setMessageTTL()

virtual void activemq::commands::NetworkBridgeFilter::setMessageTTL ( int messageTTL)
virtual

References messageTTL.

◆ setNetworkBrokerId()

virtual void activemq::commands::NetworkBridgeFilter::setNetworkBrokerId ( const Pointer< BrokerId > & networkBrokerId)
virtual

References networkBrokerId.

◆ toString()

virtual std::string activemq::commands::NetworkBridgeFilter::toString ( ) const
virtual

Returns a string containing the information for this DataStructure such as its type and value of its elements.

Returns
formatted string useful for debugging.

Reimplemented from activemq::commands::BaseDataStructure.

Field Documentation

◆ consumerTTL

int activemq::commands::NetworkBridgeFilter::consumerTTL
protected

Referenced by setConsumerTTL().

◆ ID_NETWORKBRIDGEFILTER

const unsigned char activemq::commands::NetworkBridgeFilter::ID_NETWORKBRIDGEFILTER = 91
static

◆ messageTTL

int activemq::commands::NetworkBridgeFilter::messageTTL
protected

Referenced by setMessageTTL().

◆ networkBrokerId

Pointer<BrokerId> activemq::commands::NetworkBridgeFilter::networkBrokerId
protected

Referenced by setNetworkBrokerId().


The documentation for this class was generated from the following file: