Class ExchangeHandlerAdapter
java.lang.Object
org.apache.dubbo.remoting.transport.ChannelHandlerAdapter
org.apache.dubbo.remoting.telnet.support.TelnetHandlerAdapter
org.apache.dubbo.remoting.exchange.support.ExchangeHandlerAdapter
- All Implemented Interfaces:
ChannelHandler,ExchangeHandler,TelnetHandler
public abstract class ExchangeHandlerAdapter
extends TelnetHandlerAdapter
implements ExchangeHandler
ExchangeHandlerAdapter
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.dubbo.remoting.telnet.support.TelnetHandlerAdapter
telnetMethods inherited from class org.apache.dubbo.remoting.transport.ChannelHandlerAdapter
caught, connected, disconnected, received, sentMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.remoting.ChannelHandler
caught, connected, disconnected, received, sentMethods inherited from interface org.apache.dubbo.remoting.telnet.TelnetHandler
telnet
-
Constructor Details
-
ExchangeHandlerAdapter
-
-
Method Details
-
reply
public CompletableFuture<Object> reply(ExchangeChannel channel, Object msg) throws RemotingException Description copied from interface:ExchangeHandlerreply.- Specified by:
replyin interfaceExchangeHandler- Parameters:
channel-msg-- Returns:
- response
- Throws:
RemotingException
-