public class NettyPortUnificationServer extends AbstractPortUnificationServer
| Constructor and Description |
|---|
NettyPortUnificationServer(org.apache.dubbo.common.URL url,
ChannelHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
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, startCloseequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresetgetChannelHandler, getUrl, isClosed, send, startClosepublic NettyPortUnificationServer(org.apache.dubbo.common.URL url,
ChannelHandler handler)
throws RemotingException
RemotingExceptionpublic void addSupportedProtocol(org.apache.dubbo.common.URL url,
ChannelHandler handler)
addSupportedProtocol in class AbstractPortUnificationServerpublic void close()
close in interface Endpointclose in class AbstractServerpublic void doOpen()
throws Throwable
doOpen in class AbstractServerThrowablepublic void doClose()
doClose in class AbstractServerpublic boolean isBound()
public Collection<Channel> getChannels()
public Channel getChannel(InetSocketAddress remoteAddress)
public InetSocketAddress getLocalAddress()
getLocalAddress in interface EndpointgetLocalAddress in class AbstractServerpublic boolean canHandleIdle()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.