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.netty.NettyServer
- All Implemented Interfaces:
org.apache.dubbo.common.Resetable,ChannelHandler,Endpoint,IdleSensible,RemotingServer
NettyServer
-
Constructor Summary
Constructors -
Method Summary
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
close, close, getChannelHandler, getLocalAddress, getUrl, isClosed, send, send, startCloseMethods inherited from interface org.apache.dubbo.remoting.IdleSensible
canHandleIdleMethods inherited from interface org.apache.dubbo.remoting.RemotingServer
resetMethods inherited from interface org.apache.dubbo.common.Resetable
reset
-
Constructor Details
-
NettyServer
public NettyServer(org.apache.dubbo.common.URL url, ChannelHandler handler) throws RemotingException - Throws:
RemotingException
-
-
Method Details
-
getChannels
- Specified by:
getChannelsin interfaceRemotingServer
-
getChannel
- Specified by:
getChannelin interfaceRemotingServer
-
isBound
public boolean isBound()- Specified by:
isBoundin interfaceRemotingServer
-