/** * $Id: GetTopicResponseHeader.java 1835 2013-05-16 02:00:50Z shijia.wxr $ */ package com.alibaba.rocketmq.common.protocol.header.namesrv; import com.alibaba.rocketmq.remoting.CommandCustomHeader; import com.alibaba.rocketmq.remoting.annotation.CFNotNull; import com.alibaba.rocketmq.remoting.exception.RemotingCommandException; /** * @author lansheng.zj@taobao.com */ public class GetTopicResponseHeader implements CommandCustomHeader { private String version; @CFNotNull private String brokerName; @CFNotNull private long brokerId; private String cluster; public String getCluster() { return cluster; } public void setCluster(String cluster) { this.cluster = cluster; } public String getVersion() { return version; } public void setVersion(String version) { this.version = version; } public String getBrokerName() { return brokerName; } public void setBrokerName(String brokerName) { this.brokerName = brokerName; } public long getBrokerId() { return brokerId; } public void setBrokerId(long brokerId) { this.brokerId = brokerId; } @Override public void checkFields() throws RemotingCommandException { // TODO Auto-generated method stub } }