public class NettyServer extends AbstractServer
| 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, getLocalAddress, reset, sendresetcaught, getChannelHandler, getDelegateHandler, getHandler, getUrl, isClosed, isClosing, received, send, sent, startCloseequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresetgetChannelHandler, getUrl, isClosed, send, startClosepublic NettyServer(org.apache.dubbo.common.URL url,
ChannelHandler handler)
throws RemotingException
RemotingExceptionpublic Collection<Channel> getChannels()
public Channel getChannel(InetSocketAddress remoteAddress)
public boolean canHandleIdle()
public boolean isBound()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.