com.alibaba.dubbo.remoting.transport.mina
Class MinaServer

java.lang.Object
  extended by com.alibaba.dubbo.remoting.transport.AbstractPeer
      extended by com.alibaba.dubbo.remoting.transport.AbstractEndpoint
          extended by com.alibaba.dubbo.remoting.transport.AbstractServer
              extended by 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

Constructor Summary
MinaServer(URL url, ChannelHandler handler)
           
 
Method Summary
 Channel getChannel(InetSocketAddress remoteAddress)
          get channel.
 Collection<Channel> getChannels()
          get channels.
 boolean isBound()
          is bound.
 
Methods inherited from class com.alibaba.dubbo.remoting.transport.AbstractServer
close, close, connected, disconnected, getAccepts, getBindAddress, getIdleTimeout, getLocalAddress, reset, send
 
Methods inherited from class com.alibaba.dubbo.remoting.transport.AbstractEndpoint
reset
 
Methods inherited from class com.alibaba.dubbo.remoting.transport.AbstractPeer
caught, getChannelHandler, getDelegateHandler, getHandler, getUrl, isClosed, isClosing, received, send, sent, startClose
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.alibaba.dubbo.remoting.Server
reset
 
Methods inherited from interface com.alibaba.dubbo.remoting.Endpoint
getChannelHandler, getUrl, isClosed, send, startClose
 

Constructor Detail

MinaServer

public MinaServer(URL url,
                  ChannelHandler handler)
           throws RemotingException
Throws:
RemotingException
Method Detail

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.