com.alibaba.dubbo.remoting.exchange
Interface ExchangeServer

All Superinterfaces:
Endpoint, Resetable, Server
All Known Subinterfaces:
ExchangePeer
All Known Implementing Classes:
ExchangeServerDelegate, ExchangeServerPeer, HeaderExchangeServer

public interface ExchangeServer
extends Server

ExchangeServer. (API/SPI, Prototype, ThreadSafe)

Author:
william.liangf

Method Summary
 ExchangeChannel getExchangeChannel(InetSocketAddress remoteAddress)
          get channel.
 Collection<ExchangeChannel> getExchangeChannels()
          get channels.
 
Methods inherited from interface com.alibaba.dubbo.remoting.Server
getChannel, getChannels, isBound, reset
 
Methods inherited from interface com.alibaba.dubbo.remoting.Endpoint
close, close, getChannelHandler, getLocalAddress, getUrl, isClosed, send, send, startClose
 
Methods inherited from interface com.alibaba.dubbo.common.Resetable
reset
 

Method Detail

getExchangeChannels

Collection<ExchangeChannel> getExchangeChannels()
get channels.

Returns:
channels

getExchangeChannel

ExchangeChannel getExchangeChannel(InetSocketAddress remoteAddress)
get channel.

Parameters:
remoteAddress -
Returns:
channel


Copyright © 2012–2017 Alibaba. All rights reserved.