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
- Version:
- $Revision:$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE
- See Also:
- Constant Field Values
serviceName
protected String serviceName
brokerName
protected String brokerName
DiscoveryEvent
public DiscoveryEvent()
DiscoveryEvent
public DiscoveryEvent(String serviceName)
getDataStructureType
public byte getDataStructureType()
- Specified by:
getDataStructureType
in interface DataStructure
- 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 interface DataStructure
Copyright © 2011 Apache Software Foundation. All Rights Reserved.