com.alibaba.rocketmq.common.protocol.header.namesrv
类 RegisterBrokerRequestHeader
java.lang.Object
com.alibaba.rocketmq.common.protocol.header.namesrv.RegisterBrokerRequestHeader
- 所有已实现的接口:
- CommandCustomHeader
public class RegisterBrokerRequestHeader
- extends Object
- implements CommandCustomHeader
- 作者:
- lansheng.zj@taobao.com
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegisterBrokerRequestHeader
public RegisterBrokerRequestHeader()
checkFields
public void checkFields()
throws RemotingCommandException
- 指定者:
- 接口
CommandCustomHeader 中的 checkFields
- 抛出:
RemotingCommandException
getBrokerName
public String getBrokerName()
setBrokerName
public void setBrokerName(String brokerName)
getBrokerAddr
public String getBrokerAddr()
setBrokerAddr
public void setBrokerAddr(String brokerAddr)
getClusterName
public String getClusterName()
setClusterName
public void setClusterName(String clusterName)
getHaServerAddr
public String getHaServerAddr()
setHaServerAddr
public void setHaServerAddr(String haServerAddr)
getBrokerId
public Long getBrokerId()
setBrokerId
public void setBrokerId(Long brokerId)
Copyright © 2012-2015. All Rights Reserved.