类 ServerDelegate
- java.lang.Object
 - 
- com.alibaba.dubbo.remoting.transport.ServerDelegate
 
 
- 
- 
构造器概要
构造器 构造器 说明 ServerDelegate()ServerDelegate(Server server) 
- 
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 voidclose()close the channel.voidclose(int timeout)Graceful close the channel.ChannelgetChannel(InetSocketAddress remoteAddress)get channel.ChannelHandlergetChannelHandler()get channel handler.Collection<Channel>getChannels()get channels.InetSocketAddressgetLocalAddress()get local address.ServergetServer()URLgetUrl()get url.booleanisBound()is bound.booleanisClosed()is closed.voidreset(Parameters parameters)已过时。voidreset(URL url)reset.voidsend(Object message)send message.voidsend(Object message, boolean sent)send message.voidsetServer(Server server)voidstartClose() 
 - 
 
- 
- 
构造器详细资料
- 
ServerDelegate
public ServerDelegate()
 
- 
ServerDelegate
public ServerDelegate(Server server)
 
 - 
 
- 
方法详细资料
- 
getServer
public Server getServer()
 
- 
setServer
public void setServer(Server server)
 
- 
reset
@Deprecated public void reset(Parameters parameters)
已过时。 
- 
getChannels
public Collection<Channel> getChannels()
从接口复制的说明:Serverget channels.- 指定者:
 getChannels在接口中Server- 返回:
 - channels
 
 
- 
getChannel
public Channel getChannel(InetSocketAddress remoteAddress)
从接口复制的说明:Serverget channel.- 指定者:
 getChannel在接口中Server- 返回:
 - channel
 
 
- 
getChannelHandler
public ChannelHandler getChannelHandler()
从接口复制的说明:Endpointget channel handler.- 指定者:
 getChannelHandler在接口中Endpoint- 返回:
 - channel handler
 
 
- 
getLocalAddress
public InetSocketAddress getLocalAddress()
从接口复制的说明:Endpointget local address.- 指定者:
 getLocalAddress在接口中Endpoint- 返回:
 - local address.
 
 
- 
send
public void send(Object message) throws RemotingException
从接口复制的说明:Endpointsend message.- 指定者:
 send在接口中Endpoint- 抛出:
 RemotingException
 
- 
send
public void send(Object message, boolean sent) throws RemotingException
从接口复制的说明:Endpointsend message.- 指定者:
 send在接口中Endpointsent- already sent to socket?- 抛出:
 RemotingException
 
- 
close
public void close(int timeout)
从接口复制的说明:EndpointGraceful close the channel. 
- 
startClose
public void startClose()
- 指定者:
 startClose在接口中Endpoint
 
 - 
 
 -