com.alibaba.dubbo.remoting.exchange.support
Class ExchangeHandlerAdapter

java.lang.Object
  extended by com.alibaba.dubbo.remoting.transport.ChannelHandlerAdapter
      extended by com.alibaba.dubbo.remoting.telnet.support.TelnetHandlerAdapter
          extended by com.alibaba.dubbo.remoting.exchange.support.ExchangeHandlerAdapter
All Implemented Interfaces:
ChannelHandler, ExchangeHandler, TelnetHandler

public abstract class ExchangeHandlerAdapter
extends TelnetHandlerAdapter
implements ExchangeHandler

ExchangeHandlerAdapter

Author:
william.liangf

Constructor Summary
ExchangeHandlerAdapter()
           
 
Method Summary
 Object reply(ExchangeChannel channel, Object msg)
          reply.
 
Methods inherited from class com.alibaba.dubbo.remoting.telnet.support.TelnetHandlerAdapter
telnet
 
Methods inherited from class com.alibaba.dubbo.remoting.transport.ChannelHandlerAdapter
caught, connected, disconnected, received, sent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.alibaba.dubbo.remoting.ChannelHandler
caught, connected, disconnected, received, sent
 
Methods inherited from interface com.alibaba.dubbo.remoting.telnet.TelnetHandler
telnet
 

Constructor Detail

ExchangeHandlerAdapter

public ExchangeHandlerAdapter()
Method Detail

reply

public Object reply(ExchangeChannel channel,
                    Object msg)
             throws RemotingException
Description copied from interface: ExchangeHandler
reply.

Specified by:
reply in interface ExchangeHandler
Returns:
response
Throws:
RemotingException


Copyright © 2012–2017 Alibaba. All rights reserved.