public class NettyServer extends AbstractServer implements Server
| Constructor and Description |
|---|
NettyServer(org.apache.dubbo.common.URL url,
ChannelHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandleIdle() |
Channel |
getChannel(InetSocketAddress remoteAddress) |
Collection<Channel> |
getChannels() |
boolean |
isBound() |
close, close, connected, disconnected, getAccepts, getBindAddress, getIdleTimeout, getLocalAddress, reset, sendresetcaught, getChannelHandler, getDelegateHandler, getHandler, getUrl, isClosed, isClosing, received, send, sent, startCloseequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, close, getChannelHandler, getLocalAddress, getUrl, isClosed, send, send, startClosepublic NettyServer(org.apache.dubbo.common.URL url,
ChannelHandler handler)
throws RemotingException
RemotingExceptionpublic Collection<Channel> getChannels()
getChannels in interface Serverpublic Channel getChannel(InetSocketAddress remoteAddress)
getChannel in interface Serverpublic boolean canHandleIdle()
canHandleIdle in interface IdleSensibleCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.