test_class.declarator: topicName = "com.weevent.test"
test_class.modifier: private
test_class.original_string: private String topicName = "com.weevent.test";
test_class.type: String
test_class.var_name: topicName
test_class.declarator: channelName = "mychannel"
test_class.modifier: private
test_class.original_string: private String channelName = "mychannel";
test_class.type: String
test_class.var_name: channelName
test_class.declarator: transactionTimeout = 30000
test_class.modifier: private
test_class.original_string: private long transactionTimeout = 30000;
test_class.type: long
test_class.var_name: transactionTimeout
test_class.declarator: eventId = ""
test_class.modifier: private
test_class.original_string: private String eventId = "";
test_class.type: String
test_class.var_name: eventId
test_class.declarator: queryEntity
test_class.modifier: private
test_class.original_string: private QueryEntity queryEntity;
test_class.type: QueryEntity
test_class.var_name: queryEntity
test_class.declarator: blockNumber = BigInteger.valueOf(1)
test_class.modifier: private final
test_class.original_string: private final BigInteger blockNumber = BigInteger.valueOf(1);
test_class.type: BigInteger
test_class.var_name: blockNumber
test_class.declarator: iProducer
test_class.modifier: private
test_class.original_string: private IProducer iProducer;
test_class.type: IProducer
test_class.var_name: iProducer
test_class.file: weevent-core/src/test/java/com/webank/weevent/core/fabric/FabricTopicAdminTest.java
test_class.identifier: FabricTopicAdminTest
test_class.superclass: extends JUnitTestBase
test_case.body: @Test
      public void testStateTopicOverMaxLen() {
          try {
              String lengthTopic = "hdflsjglsgqwertyuioplkjhgfdsazxcvbqwertyuioplkjhgfdsazxcvbnmkoiujy";
              this.iProducer.state(lengthTopic, this.channelName);
          } catch (BrokerException e) {
              Assert.assertEquals(ErrorCode.TOPIC_EXCEED_MAX_LENGTH.getCode(), e.getCode());
          }
      }
test_case.class_method_signature: FabricTopicAdminTest.testStateTopicOverMaxLen()
test_case.full_signature: @Test public void testStateTopicOverMaxLen()
test_case.identifier: testStateTopicOverMaxLen
test_case.invocations: state assertEquals getCode getCode
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testStateTopicOverMaxLen()
focal_class.declarator: fabricDelegate
focal_class.modifier: protected
focal_class.original_string: protected FabricDelegate fabricDelegate;
focal_class.type: FabricDelegate
focal_class.var_name: fabricDelegate
focal_class.file: weevent-core/src/main/java/com/webank/weevent/core/fabric/FabricTopicAdmin.java
focal_class.identifier: FabricTopicAdmin
focal_class.interfaces: implements IEventTopic
focal_class.class_method_signature: FabricTopicAdmin.FabricTopicAdmin(FabricDelegate fabricDelegate)
focal_class.full_signature: public  FabricTopicAdmin(FabricDelegate fabricDelegate)
focal_class.identifier: FabricTopicAdmin
focal_class.modifiers: public
focal_class.parameters: (FabricDelegate fabricDelegate)
focal_class.signature:  FabricTopicAdmin(FabricDelegate fabricDelegate)
focal_class.class_method_signature: FabricTopicAdmin.open(String topic, String channelName)
focal_class.full_signature: @Override public boolean open(String topic, String channelName)
focal_class.identifier: open
focal_class.modifiers: @Override public
focal_class.parameters: (String topic, String channelName)
focal_class.return: boolean
focal_class.signature: boolean open(String topic, String channelName)
focal_class.class_method_signature: FabricTopicAdmin.close(String topic, String channelName)
focal_class.full_signature: @Override public boolean close(String topic, String channelName)
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: (String topic, String channelName)
focal_class.return: boolean
focal_class.signature: boolean close(String topic, String channelName)
focal_class.class_method_signature: FabricTopicAdmin.getEvent(String eventId, String channelName)
focal_class.full_signature: @Override public WeEvent getEvent(String eventId, String channelName)
focal_class.identifier: getEvent
focal_class.modifiers: @Override public
focal_class.parameters: (String eventId, String channelName)
focal_class.return: WeEvent
focal_class.signature: WeEvent getEvent(String eventId, String channelName)
focal_class.class_method_signature: FabricTopicAdmin.exist(String topic, String channelName)
focal_class.full_signature: @Override public boolean exist(String topic, String channelName)
focal_class.identifier: exist
focal_class.modifiers: @Override public
focal_class.parameters: (String topic, String channelName)
focal_class.return: boolean
focal_class.signature: boolean exist(String topic, String channelName)
focal_class.class_method_signature: FabricTopicAdmin.list(Integer pageIndex, Integer pageSize, String channelName)
focal_class.full_signature: @Override public TopicPage list(Integer pageIndex, Integer pageSize, String channelName)
focal_class.identifier: list
focal_class.modifiers: @Override public
focal_class.parameters: (Integer pageIndex, Integer pageSize, String channelName)
focal_class.return: TopicPage
focal_class.signature: TopicPage list(Integer pageIndex, Integer pageSize, String channelName)
focal_class.class_method_signature: FabricTopicAdmin.state(String topic, String channelName)
focal_class.full_signature: @Override public TopicInfo state(String topic, String channelName)
focal_class.identifier: state
focal_class.modifiers: @Override public
focal_class.parameters: (String topic, String channelName)
focal_class.return: TopicInfo
focal_class.signature: TopicInfo state(String topic, String channelName)
focal_class.class_method_signature: FabricTopicAdmin.listGroupId()
focal_class.full_signature: @Override public List<String> listGroupId()
focal_class.identifier: listGroupId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> listGroupId()
focal_class.class_method_signature: FabricTopicAdmin.getBlockHeight(String channelName)
focal_class.full_signature: @Override public Long getBlockHeight(String channelName)
focal_class.identifier: getBlockHeight
focal_class.modifiers: @Override public
focal_class.parameters: (String channelName)
focal_class.return: Long
focal_class.signature: Long getBlockHeight(String channelName)
focal_class.class_method_signature: FabricTopicAdmin.getGroupGeneral(String channelName)
focal_class.full_signature: @Override public GroupGeneral getGroupGeneral(String channelName)
focal_class.identifier: getGroupGeneral
focal_class.modifiers: @Override public
focal_class.parameters: (String channelName)
focal_class.return: GroupGeneral
focal_class.signature: GroupGeneral getGroupGeneral(String channelName)
focal_class.class_method_signature: FabricTopicAdmin.queryTransList(QueryEntity queryEntity)
focal_class.full_signature: @Override public ListPage<TbTransHash> queryTransList(QueryEntity queryEntity)
focal_class.identifier: queryTransList
focal_class.modifiers: @Override public
focal_class.parameters: (QueryEntity queryEntity)
focal_class.return: ListPage<TbTransHash>
focal_class.signature: ListPage<TbTransHash> queryTransList(QueryEntity queryEntity)
focal_class.class_method_signature: FabricTopicAdmin.queryBlockList(QueryEntity queryEntity)
focal_class.full_signature: @Override public ListPage<TbBlock> queryBlockList(QueryEntity queryEntity)
focal_class.identifier: queryBlockList
focal_class.modifiers: @Override public
focal_class.parameters: (QueryEntity queryEntity)
focal_class.return: ListPage<TbBlock>
focal_class.signature: ListPage<TbBlock> queryBlockList(QueryEntity queryEntity)
focal_class.class_method_signature: FabricTopicAdmin.queryNodeList(QueryEntity queryEntity)
focal_class.full_signature: @Override public ListPage<TbNode> queryNodeList(QueryEntity queryEntity)
focal_class.identifier: queryNodeList
focal_class.modifiers: @Override public
focal_class.parameters: (QueryEntity queryEntity)
focal_class.return: ListPage<TbNode>
focal_class.signature: ListPage<TbNode> queryNodeList(QueryEntity queryEntity)
focal_class.class_method_signature: FabricTopicAdmin.getContractContext(String groupId)
focal_class.full_signature: @Override public ContractContext getContractContext(String groupId)
focal_class.identifier: getContractContext
focal_class.modifiers: @Override public
focal_class.parameters: (String groupId)
focal_class.return: ContractContext
focal_class.signature: ContractContext getContractContext(String groupId)
focal_class.class_method_signature: FabricTopicAdmin.validateChannelName(String channelName)
focal_class.full_signature: protected void validateChannelName(String channelName)
focal_class.identifier: validateChannelName
focal_class.modifiers: protected
focal_class.parameters: (String channelName)
focal_class.return: void
focal_class.signature: void validateChannelName(String channelName)
focal_class.class_method_signature: FabricTopicAdmin.addOperator(String groupId, String topicName, String address)
focal_class.full_signature: @Override public boolean addOperator(String groupId, String topicName, String address)
focal_class.identifier: addOperator
focal_class.modifiers: @Override public
focal_class.parameters: (String groupId, String topicName, String address)
focal_class.return: boolean
focal_class.signature: boolean addOperator(String groupId, String topicName, String address)
focal_class.class_method_signature: FabricTopicAdmin.delOperator(String groupId, String topicName, String address)
focal_class.full_signature: @Override public boolean delOperator(String groupId, String topicName, String address)
focal_class.identifier: delOperator
focal_class.modifiers: @Override public
focal_class.parameters: (String groupId, String topicName, String address)
focal_class.return: boolean
focal_class.signature: boolean delOperator(String groupId, String topicName, String address)
focal_class.class_method_signature: FabricTopicAdmin.listOperator(String groupId, String topicName)
focal_class.full_signature: @Override public List<String> listOperator(String groupId, String topicName)
focal_class.identifier: listOperator
focal_class.modifiers: @Override public
focal_class.parameters: (String groupId, String topicName)
focal_class.return: List<String>
focal_class.signature: List<String> listOperator(String groupId, String topicName)
focal_class.class_method_signature: FabricTopicAdmin.validateGroupId(String channelName)
focal_class.full_signature: @Override public void validateGroupId(String channelName)
focal_class.identifier: validateGroupId
focal_class.modifiers: @Override public
focal_class.parameters: (String channelName)
focal_class.return: void
focal_class.signature: void validateGroupId(String channelName)
focal_method.body: @Override
      public TopicInfo state(String topic, String channelName) throws BrokerException {
          ParamCheckUtils.validateTopicName(topic);
          validateChannelName(channelName);
  
          return fabricDelegate.getFabricMap().get(channelName).getTopicInfo(topic);
      }
focal_method.class_method_signature: FabricTopicAdmin.state(String topic, String channelName)
focal_method.full_signature: @Override public TopicInfo state(String topic, String channelName)
focal_method.identifier: state
focal_method.invocations: validateTopicName validateChannelName getTopicInfo get getFabricMap
focal_method.modifiers: @Override public
focal_method.parameters: (String topic, String channelName)
focal_method.return: TopicInfo
focal_method.signature: TopicInfo state(String topic, String channelName)