Package org.apache.activemq.command
Class DiscoveryEvent
- java.lang.Object
-
- org.apache.activemq.command.DiscoveryEvent
-
- All Implemented Interfaces:
DataStructure
public class DiscoveryEvent extends Object implements DataStructure
Represents a discovery event containing the details of the service
-
-
Field Summary
Fields Modifier and Type Field Description protected StringbrokerNamestatic byteDATA_STRUCTURE_TYPEprotected StringserviceName
-
Constructor Summary
Constructors Modifier Constructor Description DiscoveryEvent()DiscoveryEvent(String serviceName)protectedDiscoveryEvent(DiscoveryEvent copy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBrokerName()bytegetDataStructureType()StringgetServiceName()booleanisMarshallAware()voidsetBrokerName(String name)voidsetServiceName(String serviceName)
-
-
-
Field Detail
-
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE
- See Also:
- Constant Field Values
-
serviceName
protected String serviceName
-
brokerName
protected String brokerName
-
-
Constructor Detail
-
DiscoveryEvent
public DiscoveryEvent()
-
DiscoveryEvent
public DiscoveryEvent(String serviceName)
-
DiscoveryEvent
protected DiscoveryEvent(DiscoveryEvent copy)
-
-
Method Detail
-
getDataStructureType
public byte getDataStructureType()
- Specified by:
getDataStructureTypein interfaceDataStructure- Returns:
- The type of the data structure
-
getServiceName
public String getServiceName()
-
setServiceName
public void setServiceName(String serviceName)
-
getBrokerName
public String getBrokerName()
-
setBrokerName
public void setBrokerName(String name)
-
isMarshallAware
public boolean isMarshallAware()
- Specified by:
isMarshallAwarein interfaceDataStructure
-
-