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 Details

    • DATA_STRUCTURE_TYPE

      public static final byte DATA_STRUCTURE_TYPE
      See Also:
    • serviceName

      protected String serviceName
    • brokerName

      protected String brokerName
  • Constructor Details

    • DiscoveryEvent

      public DiscoveryEvent()
    • DiscoveryEvent

      public DiscoveryEvent(String serviceName)
    • DiscoveryEvent

      protected DiscoveryEvent(DiscoveryEvent copy)
  • Method Details

    • 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