org.apache.activemq.command
Class DiscoveryEvent

java.lang.Object
  extended by 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
protected  String brokerName
           
static byte DATA_STRUCTURE_TYPE
           
protected  String serviceName
           
 
Constructor Summary
DiscoveryEvent()
           
DiscoveryEvent(String serviceName)
           
 
Method Summary
 String getBrokerName()
           
 byte getDataStructureType()
           
 String getServiceName()
           
 boolean isMarshallAware()
           
 void setBrokerName(String name)
           
 void setServiceName(String serviceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)
Method Detail

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 © 2005-2012 The Apache Software Foundation. All Rights Reserved.