com.alibaba.dubbo.remoting
Interface Server

All Superinterfaces:
Endpoint, Resetable
All Known Subinterfaces:
ExchangePeer, ExchangeServer, Peer
All Known Implementing Classes:
AbstractServer, ExchangeServerDelegate, ExchangeServerPeer, GrizzlyServer, HeaderExchangeServer, MinaServer, NettyServer, NettyServer, ServerDelegate, ServerPeer

public interface Server
extends Endpoint, Resetable

Remoting Server. (API/SPI, Prototype, ThreadSafe)

Client/Server

Author:
qian.lei
See Also:
Transporter.bind(com.alibaba.dubbo.common.URL, ChannelHandler)

Method Summary
 Channel getChannel(InetSocketAddress remoteAddress)
          get channel.
 Collection<Channel> getChannels()
          get channels.
 boolean isBound()
          is bound.
 void reset(Parameters parameters)
          Deprecated. 
 
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

isBound

boolean isBound()
is bound.

Returns:
bound

getChannels

Collection<Channel> getChannels()
get channels.

Returns:
channels

getChannel

Channel getChannel(InetSocketAddress remoteAddress)
get channel.

Parameters:
remoteAddress -
Returns:
channel

reset

@Deprecated
void reset(Parameters parameters)
Deprecated. 



Copyright © 2012–2017 Alibaba. All rights reserved.