public class DefaultRegistryServer extends NettyTcpAcceptor implements RegistryServer
RegistryServer.Defaultallocator, localAddress, protocol, timer| 构造器和说明 |
|---|
DefaultRegistryServer(int port) |
DefaultRegistryServer(int port,
int nWorks) |
DefaultRegistryServer(SocketAddress address) |
DefaultRegistryServer(SocketAddress address,
int nWorks) |
| 限定符和类型 | 方法和说明 |
|---|---|
io.netty.channel.ChannelFuture |
bind(SocketAddress localAddress) |
protected void |
init() |
List<String> |
listAddressesByService(String group,
String serviceProviderName,
String version) |
List<String> |
listPublisherHosts() |
List<String> |
listServicesByAddress(String host,
int port) |
List<String> |
listSubscriberAddresses() |
void |
serializerType(SerializerType serializerType) |
void |
startRegistryServer() |
configGroup, initEventLoopGroup, isNativeEt, setIoRatio, setOptions, start, start, toStringbootstrap, boss, boundPort, localAddress, protocol, shutdownGracefully, withProcessor, workerpublic DefaultRegistryServer(int port)
public DefaultRegistryServer(SocketAddress address)
public DefaultRegistryServer(int port,
int nWorks)
public DefaultRegistryServer(SocketAddress address, int nWorks)
protected void init()
init 在类中 NettyAcceptorpublic io.netty.channel.ChannelFuture bind(SocketAddress localAddress)
bind 在类中 NettyAcceptorpublic List<String> listPublisherHosts()
listPublisherHosts 在接口中 RegistryMonitorpublic List<String> listSubscriberAddresses()
listSubscriberAddresses 在接口中 RegistryMonitorpublic List<String> listAddressesByService(String group, String serviceProviderName, String version)
listAddressesByService 在接口中 RegistryMonitorpublic List<String> listServicesByAddress(String host, int port)
listServicesByAddress 在接口中 RegistryMonitorpublic void startRegistryServer()
startRegistryServer 在接口中 RegistryServerpublic void serializerType(SerializerType serializerType)
Copyright © 2017. All rights reserved.