类 NettyServer
- java.lang.Object
-
- com.alibaba.dubbo.remoting.transport.AbstractPeer
-
- com.alibaba.dubbo.remoting.transport.AbstractEndpoint
-
- com.alibaba.dubbo.remoting.transport.AbstractServer
-
- com.alibaba.dubbo.remoting.transport.netty4.NettyServer
-
- 所有已实现的接口:
Resetable
,ChannelHandler
,Endpoint
,Server
public class NettyServer extends AbstractServer implements Server
NettyServer
-
-
构造器概要
构造器 构造器 说明 NettyServer(URL url, ChannelHandler handler)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Channel
getChannel(InetSocketAddress remoteAddress)
get channel.Collection<Channel>
getChannels()
get channels.boolean
isBound()
is bound.-
从类继承的方法 com.alibaba.dubbo.remoting.transport.AbstractServer
close, close, connected, disconnected, getAccepts, getBindAddress, getIdleTimeout, getLocalAddress, reset, send
-
从类继承的方法 com.alibaba.dubbo.remoting.transport.AbstractEndpoint
reset
-
从类继承的方法 com.alibaba.dubbo.remoting.transport.AbstractPeer
caught, getChannelHandler, getDelegateHandler, getHandler, getUrl, isClosed, isClosing, received, send, sent, startClose
-
从接口继承的方法 com.alibaba.dubbo.remoting.Endpoint
close, close, getChannelHandler, getLocalAddress, getUrl, isClosed, send, send, startClose
-
-
-
-
构造器详细资料
-
NettyServer
public NettyServer(URL url, ChannelHandler handler) throws RemotingException
-
-
方法详细资料
-
getChannels
public Collection<Channel> getChannels()
从接口复制的说明:Server
get channels.- 指定者:
getChannels
在接口中Server
- 返回:
- channels
-
getChannel
public Channel getChannel(InetSocketAddress remoteAddress)
从接口复制的说明:Server
get channel.- 指定者:
getChannel
在接口中Server
- 返回:
- channel
-
-