com.alibaba.dubbo.remoting.transport.dispatcher.message
Class MessageOnlyDispatcher

java.lang.Object
  extended by com.alibaba.dubbo.remoting.transport.dispatcher.message.MessageOnlyDispatcher
All Implemented Interfaces:
Dispatcher

public class MessageOnlyDispatcher
extends Object
implements Dispatcher

只有message receive使用线程池.

Author:
chao.liuc

Field Summary
static String NAME
           
 
Constructor Summary
MessageOnlyDispatcher()
           
 
Method Summary
 ChannelHandler dispatch(ChannelHandler handler, URL url)
          dispatch the message to threadpool.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

MessageOnlyDispatcher

public MessageOnlyDispatcher()
Method Detail

dispatch

public ChannelHandler dispatch(ChannelHandler handler,
                               URL url)
Description copied from interface: Dispatcher
dispatch the message to threadpool.

Specified by:
dispatch in interface Dispatcher
Returns:
channel handler


Copyright © 2012–2017 Alibaba. All rights reserved.