public class NettyPortUnificationServer extends AbstractPortUnificationServer
| 构造器和说明 |
|---|
NettyPortUnificationServer(org.apache.dubbo.common.URL url,
ChannelHandler handler) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addSupportedProtocol(org.apache.dubbo.common.URL url,
ChannelHandler handler) |
void |
bind() |
boolean |
canHandleIdle() |
void |
close() |
void |
doClose() |
void |
doOpen() |
Channel |
getChannel(InetSocketAddress remoteAddress) |
Collection<Channel> |
getChannels() |
InetSocketAddress |
getLocalAddress() |
boolean |
isBound() |
getProtocols, getSupportedHandlersclose, connected, disconnected, getAccepts, getBindAddress, reset, sendresetcaught, getChannelHandler, getDelegateHandler, getHandler, getUrl, isClosed, isClosing, received, send, sent, startCloseresetgetChannelHandler, getUrl, isClosed, send, startClosepublic NettyPortUnificationServer(org.apache.dubbo.common.URL url,
ChannelHandler handler)
throws RemotingException
public void addSupportedProtocol(org.apache.dubbo.common.URL url,
ChannelHandler handler)
public void close()
close 在接口中 Endpointclose 在类中 AbstractServerpublic void bind()
public void doOpen()
doOpen 在类中 AbstractServerpublic void doClose()
doClose 在类中 AbstractServerpublic boolean isBound()
public Collection<Channel> getChannels()
public Channel getChannel(InetSocketAddress remoteAddress)
public InetSocketAddress getLocalAddress()
getLocalAddress 在接口中 EndpointgetLocalAddress 在类中 AbstractServerpublic boolean canHandleIdle()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.