public class NettyServer extends AbstractServer
| 构造器和说明 |
|---|
NettyServer(org.apache.dubbo.common.URL url,
ChannelHandler handler) |
| 限定符和类型 | 方法和说明 |
|---|---|
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, startCloseresetgetChannelHandler, getUrl, isClosed, send, startClosepublic NettyServer(org.apache.dubbo.common.URL url,
ChannelHandler handler)
throws RemotingException
public Collection<Channel> getChannels()
public Channel getChannel(InetSocketAddress remoteAddress)
public boolean canHandleIdle()
public boolean isBound()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.