com.alibaba.dubbo.remoting.transport.mina
Class MinaServer
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.mina.MinaServer
- All Implemented Interfaces:
- Resetable, ChannelHandler, Endpoint, Server
public class MinaServer
- extends AbstractServer
MinaServer
- Author:
- qian.lei, william.liangf, ding.lid
Methods inherited from class com.alibaba.dubbo.remoting.transport.AbstractPeer |
caught, getChannelHandler, getDelegateHandler, getHandler, getUrl, isClosed, isClosing, received, send, sent, startClose |
Methods inherited from interface com.alibaba.dubbo.remoting.Server |
reset |
MinaServer
public MinaServer(URL url,
ChannelHandler handler)
throws RemotingException
- Throws:
RemotingException
getChannels
public Collection<Channel> getChannels()
- Description copied from interface:
Server
- get channels.
- Returns:
- channels
getChannel
public Channel getChannel(InetSocketAddress remoteAddress)
- Description copied from interface:
Server
- get channel.
- Returns:
- channel
isBound
public boolean isBound()
- Description copied from interface:
Server
- is bound.
- Returns:
- bound
Copyright © 2012–2017 Alibaba. All rights reserved.