public class BrokerInfo extends BaseCommand
Modifier and Type | Field and Description |
---|---|
static byte |
DATA_STRUCTURE_TYPE |
commandId, responseRequired
Constructor and Description |
---|
BrokerInfo() |
Modifier and Type | Method and Description |
---|---|
BrokerId |
getBrokerId() |
org.fusesource.hawtbuf.UTF8Buffer |
getBrokerName() |
org.fusesource.hawtbuf.UTF8Buffer |
getBrokerUploadUrl()
The URL to use when uploading BLOBs to the broker or some other external
file/http server
|
org.fusesource.hawtbuf.UTF8Buffer |
getBrokerURL() |
long |
getConnectionId()
The broker assigns a each connection it accepts a connection id.
|
byte |
getDataStructureType() |
org.fusesource.hawtbuf.UTF8Buffer |
getNetworkProperties() |
BrokerInfo[] |
getPeerBrokerInfos() |
boolean |
isBrokerInfo() |
boolean |
isDuplexConnection() |
boolean |
isFaultTolerantConfiguration() |
boolean |
isMasterBroker() |
boolean |
isNetworkConnection() |
boolean |
isSlaveBroker() |
void |
setBrokerId(BrokerId brokerId) |
void |
setBrokerName(org.fusesource.hawtbuf.UTF8Buffer brokerName) |
void |
setBrokerUploadUrl(org.fusesource.hawtbuf.UTF8Buffer brokerUploadUrl) |
void |
setBrokerURL(org.fusesource.hawtbuf.UTF8Buffer brokerURL) |
void |
setConnectionId(long connectionId) |
void |
setDuplexConnection(boolean duplexConnection) |
void |
setFaultTolerantConfiguration(boolean faultTolerantConfiguration) |
void |
setMasterBroker(boolean masterBroker) |
void |
setNetworkConnection(boolean networkConnection) |
void |
setNetworkProperties(org.fusesource.hawtbuf.UTF8Buffer networkProperties) |
void |
setPeerBrokerInfos(BrokerInfo[] peerBrokerInfos) |
void |
setSlaveBroker(boolean slaveBroker) |
copy, getCommandId, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setResponseRequired, toString, toString
public static final byte DATA_STRUCTURE_TYPE
public boolean isBrokerInfo()
isBrokerInfo
in interface Command
isBrokerInfo
in class BaseCommand
public byte getDataStructureType()
public BrokerId getBrokerId()
public void setBrokerId(BrokerId brokerId)
public org.fusesource.hawtbuf.UTF8Buffer getBrokerURL()
public void setBrokerURL(org.fusesource.hawtbuf.UTF8Buffer brokerURL)
public BrokerInfo[] getPeerBrokerInfos()
public void setPeerBrokerInfos(BrokerInfo[] peerBrokerInfos)
public org.fusesource.hawtbuf.UTF8Buffer getBrokerName()
public void setBrokerName(org.fusesource.hawtbuf.UTF8Buffer brokerName)
public boolean isSlaveBroker()
public void setSlaveBroker(boolean slaveBroker)
public boolean isMasterBroker()
public void setMasterBroker(boolean masterBroker)
masterBroker
- The masterBroker to set.public boolean isFaultTolerantConfiguration()
public void setFaultTolerantConfiguration(boolean faultTolerantConfiguration)
faultTolerantConfiguration
- The faultTolerantConfiguration to set.public boolean isDuplexConnection()
public void setDuplexConnection(boolean duplexConnection)
duplexConnection
- the duplexConnection to setpublic boolean isNetworkConnection()
public void setNetworkConnection(boolean networkConnection)
networkConnection
- the networkConnection to setpublic long getConnectionId()
public void setConnectionId(long connectionId)
public org.fusesource.hawtbuf.UTF8Buffer getBrokerUploadUrl()
public void setBrokerUploadUrl(org.fusesource.hawtbuf.UTF8Buffer brokerUploadUrl)
public org.fusesource.hawtbuf.UTF8Buffer getNetworkProperties()
public void setNetworkProperties(org.fusesource.hawtbuf.UTF8Buffer networkProperties)
networkProperties
- the networkProperties to setCopyright © 2011–2014 Red Hat. All rights reserved.