public class NettyServer
extends com.alibaba.dubbo.remoting.transport.AbstractServer
implements com.alibaba.dubbo.remoting.Server
| 构造器和说明 |
|---|
NettyServer(com.alibaba.dubbo.common.URL url,
ChannelHandler handler) |
| 限定符和类型 | 方法和说明 |
|---|---|
com.alibaba.dubbo.remoting.Channel |
getChannel(InetSocketAddress remoteAddress) |
Collection<com.alibaba.dubbo.remoting.Channel> |
getChannels() |
boolean |
isBound() |
close, close, connected, disconnected, getAccepts, getBindAddress, getIdleTimeout, getLocalAddress, reset, sendcaught, getChannelHandler, getDelegateHandler, getHandler, getUrl, isClosed, isClosing, received, send, sent, startClosepublic NettyServer(com.alibaba.dubbo.common.URL url,
ChannelHandler handler)
throws com.alibaba.dubbo.remoting.RemotingException
com.alibaba.dubbo.remoting.RemotingExceptionpublic Collection<com.alibaba.dubbo.remoting.Channel> getChannels()
getChannels 在接口中 com.alibaba.dubbo.remoting.Serverpublic com.alibaba.dubbo.remoting.Channel getChannel(InetSocketAddress remoteAddress)
getChannel 在接口中 com.alibaba.dubbo.remoting.Serverpublic boolean isBound()
isBound 在接口中 com.alibaba.dubbo.remoting.ServerCopyright © 2018. All rights reserved.