public class MulticastRegistry extends AbstractRegistry
serializer| 构造器和说明 |
|---|
MulticastRegistry(ClientConfig config) |
MulticastRegistry(ServiceConfig config) |
| 限定符和类型 | 方法和说明 |
|---|---|
ClientTransport |
discovery(RequestKey key)
发现
|
void |
register(List<RequestKey> keys)
注册方法调用keys
|
void |
start()
启动
|
void |
stop()
停止
|
void |
unregister(List<RequestKey> keys)
注销方法调用key
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregister, unregisterpublic MulticastRegistry(ServiceConfig config)
public MulticastRegistry(ClientConfig config)
public void register(List<RequestKey> keys)
Registrykeys - 方法调用keyspublic void unregister(List<RequestKey> keys)
Registrykeys - 方法调用keyspublic void start()
throws IOException
Registrystart 在接口中 Registrystart 在类中 AbstractRegistryIOException - io异常时抛出public void stop()
Registrystop 在接口中 Registrystop 在类中 AbstractRegistrypublic ClientTransport discovery(RequestKey key)
Registrykey - 方法调用keyCopyright © 2021. All rights reserved.