com.alibaba.dubbo.remoting.transport.netty
Class 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.netty.NettyServer
- All Implemented Interfaces:
- Resetable, ChannelHandler, Endpoint, Server
public class NettyServer
- extends AbstractServer
- implements Server
NettyServer
- Author:
- qian.lei, chao.liuc
| Methods inherited from interface com.alibaba.dubbo.remoting.Server |
reset |
| Methods inherited from interface com.alibaba.dubbo.common.Resetable |
reset |
NettyServer
public NettyServer(URL url,
ChannelHandler handler)
throws RemotingException
- Throws:
RemotingException
getChannels
public Collection<Channel> getChannels()
- Description copied from interface:
Server
- get channels.
- Specified by:
getChannels in interface Server
- Returns:
- channels
getChannel
public Channel getChannel(InetSocketAddress remoteAddress)
- Description copied from interface:
Server
- get channel.
- Specified by:
getChannel in interface Server
- Returns:
- channel
isBound
public boolean isBound()
- Description copied from interface:
Server
- is bound.
- Specified by:
isBound in interface Server
- Returns:
- bound
Copyright © 2012 Alibaba. All Rights Reserved.