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 String
brokerName
static byte
DATA_STRUCTURE_TYPE
protected String
serviceName
-
Constructor Summary
Constructors Modifier Constructor Description DiscoveryEvent()
DiscoveryEvent(String serviceName)
protected
DiscoveryEvent(DiscoveryEvent copy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBrokerName()
byte
getDataStructureType()
String
getServiceName()
boolean
isMarshallAware()
void
setBrokerName(String name)
void
setServiceName(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:
getDataStructureType
in 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:
isMarshallAware
in interfaceDataStructure
-
-