com.alibaba.dubbo.remoting.transport.dispatcher.direct
Class DirectDispatcher

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

public class DirectDispatcher
extends Object
implements Dispatcher

不派发线程池。

Author:
chao.liuc

Field Summary
static String NAME
           
 
Constructor Summary
DirectDispatcher()
           
 
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

DirectDispatcher

public DirectDispatcher()
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.