Class NettyServer
java.lang.Object
org.apache.dubbo.remoting.transport.AbstractPeer
org.apache.dubbo.remoting.transport.AbstractEndpoint
org.apache.dubbo.remoting.transport.AbstractServer
org.apache.dubbo.remoting.transport.netty4.NettyServer
- All Implemented Interfaces:
org.apache.dubbo.common.Resetable,ChannelHandler,Endpoint,IdleSensible,RemotingServer
NettyServer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetChannel(InetSocketAddress remoteAddress) booleanisBound()Methods inherited from class org.apache.dubbo.remoting.transport.AbstractServer
close, close, connected, disconnected, getAccepts, getBindAddress, getLocalAddress, reset, sendMethods inherited from class org.apache.dubbo.remoting.transport.AbstractEndpoint
resetMethods inherited from class org.apache.dubbo.remoting.transport.AbstractPeer
caught, getChannelHandler, getDelegateHandler, getHandler, getUrl, isClosed, isClosing, received, send, sent, startCloseMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.remoting.Endpoint
getChannelHandler, getUrl, isClosed, send, startCloseMethods inherited from interface org.apache.dubbo.remoting.RemotingServer
reset
-
Constructor Details
-
NettyServer
public NettyServer(org.apache.dubbo.common.URL url, ChannelHandler handler) throws RemotingException - Throws:
RemotingException
-
-
Method Details
-
getChannels
-
getChannel
-
canHandleIdle
public boolean canHandleIdle() -
isBound
public boolean isBound()
-