com.baidu.driver4j.bns
接口 BNSServiceGroupCallback


public interface BNSServiceGroupCallback

BNS call back interface for Group

从以下版本开始:
1.4.0
作者:
xiemalin

方法摘要
 void callback(String serviceName, Group group)
          callback method on changed instances from target service name
 List<String> getServiceGroupNames()
          To tell BNS client which service group name to be registered
 

方法详细信息

getServiceGroupNames

List<String> getServiceGroupNames()
To tell BNS client which service group name to be registered

返回:
to register service name list

callback

void callback(String serviceName,
              Group group)
callback method on changed instances from target service name

参数:
serviceName - service name
gropu - A new change Group object to call back


Copyright © 2016. All rights reserved.