public class GrizzlyServer
extends com.alibaba.dubbo.remoting.transport.AbstractServer
| 构造器和说明 |
|---|
GrizzlyServer(com.alibaba.dubbo.common.URL url,
ChannelHandler handler) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
connected(com.alibaba.dubbo.remoting.Channel ch) |
void |
disconnected(com.alibaba.dubbo.remoting.Channel ch) |
com.alibaba.dubbo.remoting.Channel |
getChannel(InetSocketAddress remoteAddress) |
Collection<com.alibaba.dubbo.remoting.Channel> |
getChannels() |
boolean |
isBound() |
close, close, getAccepts, getBindAddress, getIdleTimeout, getLocalAddress, reset, sendpublic GrizzlyServer(com.alibaba.dubbo.common.URL url,
ChannelHandler handler)
throws com.alibaba.dubbo.remoting.RemotingException
com.alibaba.dubbo.remoting.RemotingExceptionpublic boolean isBound()
public Collection<com.alibaba.dubbo.remoting.Channel> getChannels()
public com.alibaba.dubbo.remoting.Channel getChannel(InetSocketAddress remoteAddress)
public void connected(com.alibaba.dubbo.remoting.Channel ch)
throws com.alibaba.dubbo.remoting.RemotingException
connected 在接口中 ChannelHandlerconnected 在类中 com.alibaba.dubbo.remoting.transport.AbstractServercom.alibaba.dubbo.remoting.RemotingExceptionpublic void disconnected(com.alibaba.dubbo.remoting.Channel ch)
throws com.alibaba.dubbo.remoting.RemotingException
disconnected 在接口中 ChannelHandlerdisconnected 在类中 com.alibaba.dubbo.remoting.transport.AbstractServercom.alibaba.dubbo.remoting.RemotingExceptionCopyright © 2018. All rights reserved.