Home » activemq-parent-5.3.1-source-release » org.apache » activemq » command » [javadoc | source]
org.apache.activemq.command
public class: BrokerInfo [javadoc | source]
java.lang.Object
   org.apache.activemq.command.BaseCommand
      org.apache.activemq.command.BrokerInfo

All Implemented Interfaces:
    Command

When a client connects to a broker, the broker send the client a BrokerInfo so that the client knows which broker node he's talking to and also any peers that the node has in his cluster. This is the broker helping the client out in discovering other nodes in the cluster.
Field Summary
public static final  byte DATA_STRUCTURE_TYPE     
 BrokerId brokerId     
 String brokerURL     
 boolean slaveBroker     
 boolean masterBroker     
 boolean faultTolerantConfiguration     
 boolean networkConnection     
 boolean duplexConnection     
 BrokerInfo[] peerBrokerInfos     
 String brokerName     
 long connectionId     
 String brokerUploadUrl     
 String networkProperties     
Fields inherited from org.apache.activemq.command.BaseCommand:
commandId,  responseRequired
Method from org.apache.activemq.command.BrokerInfo Summary:
getBrokerId,   getBrokerName,   getBrokerURL,   getBrokerUploadUrl,   getConnectionId,   getDataStructureType,   getNetworkProperties,   getPeerBrokerInfos,   getProperties,   isBrokerInfo,   isDuplexConnection,   isFaultTolerantConfiguration,   isMasterBroker,   isNetworkConnection,   isPassiveSlave,   isSlaveBroker,   setBrokerId,   setBrokerName,   setBrokerURL,   setBrokerUploadUrl,   setConnectionId,   setDuplexConnection,   setFaultTolerantConfiguration,   setMasterBroker,   setNetworkConnection,   setNetworkProperties,   setPassiveSlave,   setPeerBrokerInfos,   setSlaveBroker,   visit
Methods from org.apache.activemq.command.BaseCommand:
copy,   getCommandId,   getFrom,   getTo,   isBrokerInfo,   isMarshallAware,   isMessage,   isMessageAck,   isMessageDispatch,   isMessageDispatchNotification,   isResponse,   isResponseRequired,   isShutdownInfo,   isWireFormatInfo,   setCommandId,   setFrom,   setResponseRequired,   setTo,   toString,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.command.BrokerInfo Detail:
 public BrokerId getBrokerId() 
 public String getBrokerName() 
 public String getBrokerURL() 
 public String getBrokerUploadUrl() 
    The URL to use when uploading BLOBs to the broker or some other external file/http server
 public long getConnectionId() 
    The broker assigns a each connection it accepts a connection id.
 public byte getDataStructureType() 
 public String getNetworkProperties() 
 public BrokerInfo[] getPeerBrokerInfos() 
 public Properties getProperties() 
 public boolean isBrokerInfo() 
 public boolean isDuplexConnection() 
 public boolean isFaultTolerantConfiguration() 
 public boolean isMasterBroker() 
 public boolean isNetworkConnection() 
 public boolean isPassiveSlave() 
 public boolean isSlaveBroker() 
 public  void setBrokerId(BrokerId brokerId) 
 public  void setBrokerName(String brokerName) 
 public  void setBrokerURL(String brokerURL) 
 public  void setBrokerUploadUrl(String brokerUploadUrl) 
 public  void setConnectionId(long connectionId) 
 public  void setDuplexConnection(boolean duplexConnection) 
 public  void setFaultTolerantConfiguration(boolean faultTolerantConfiguration) 
 public  void setMasterBroker(boolean masterBroker) 
 public  void setNetworkConnection(boolean networkConnection) 
 public  void setNetworkProperties(String networkProperties) 
 public  void setPassiveSlave(boolean value) 
 public  void setPeerBrokerInfos(BrokerInfo[] peerBrokerInfos) 
 public  void setSlaveBroker(boolean slaveBroker) 
 public Response visit(CommandVisitor visitor) throws Exception