类 ServerDelegate
- java.lang.Object
-
- com.alibaba.dubbo.remoting.transport.ServerDelegate
-
-
构造器概要
构造器 构造器 说明 ServerDelegate()
ServerDelegate(Server server)
-
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 void
close()
close the channel.void
close(int timeout)
Graceful close the channel.Channel
getChannel(InetSocketAddress remoteAddress)
get channel.ChannelHandler
getChannelHandler()
get channel handler.Collection<Channel>
getChannels()
get channels.InetSocketAddress
getLocalAddress()
get local address.Server
getServer()
URL
getUrl()
get url.boolean
isBound()
is bound.boolean
isClosed()
is closed.void
reset(Parameters parameters)
已过时。void
reset(URL url)
reset.void
send(Object message)
send message.void
send(Object message, boolean sent)
send message.void
setServer(Server server)
void
startClose()
-
-
-
构造器详细资料
-
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()
从接口复制的说明:Server
get channels.- 指定者:
getChannels
在接口中Server
- 返回:
- channels
-
getChannel
public Channel getChannel(InetSocketAddress remoteAddress)
从接口复制的说明:Server
get channel.- 指定者:
getChannel
在接口中Server
- 返回:
- channel
-
getChannelHandler
public ChannelHandler getChannelHandler()
从接口复制的说明:Endpoint
get channel handler.- 指定者:
getChannelHandler
在接口中Endpoint
- 返回:
- channel handler
-
getLocalAddress
public InetSocketAddress getLocalAddress()
从接口复制的说明:Endpoint
get local address.- 指定者:
getLocalAddress
在接口中Endpoint
- 返回:
- local address.
-
send
public void send(Object message) throws RemotingException
从接口复制的说明:Endpoint
send message.- 指定者:
send
在接口中Endpoint
- 抛出:
RemotingException
-
send
public void send(Object message, boolean sent) throws RemotingException
从接口复制的说明:Endpoint
send message.- 指定者:
send
在接口中Endpoint
sent
- already sent to socket?- 抛出:
RemotingException
-
close
public void close(int timeout)
从接口复制的说明:Endpoint
Graceful close the channel.
-
startClose
public void startClose()
- 指定者:
startClose
在接口中Endpoint
-
-