com.github.ltsopensource.jobtracker.processor
Class RemotingDispatcher

java.lang.Object
  extended by com.github.ltsopensource.jobtracker.processor.AbstractRemotingProcessor
      extended by com.github.ltsopensource.jobtracker.processor.RemotingDispatcher
All Implemented Interfaces:
com.github.ltsopensource.remoting.RemotingProcessor

public class RemotingDispatcher
extends AbstractRemotingProcessor

Author:
Robert HG (254963746@qq.com) on 7/23/14. job tracker 总的处理器, 每一种命令对应不同的处理器

Constructor Summary
RemotingDispatcher(JobTrackerAppContext appContext)
           
 
Method Summary
 com.github.ltsopensource.remoting.protocol.RemotingCommand processRequest(com.github.ltsopensource.remoting.Channel channel, com.github.ltsopensource.remoting.protocol.RemotingCommand request)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemotingDispatcher

public RemotingDispatcher(JobTrackerAppContext appContext)
Method Detail

processRequest

public com.github.ltsopensource.remoting.protocol.RemotingCommand processRequest(com.github.ltsopensource.remoting.Channel channel,
                                                                                 com.github.ltsopensource.remoting.protocol.RemotingCommand request)
                                                                          throws com.github.ltsopensource.remoting.exception.RemotingCommandException
Throws:
com.github.ltsopensource.remoting.exception.RemotingCommandException


Copyright © 2017. All rights reserved.