com.github.ltsopensource.jobtracker.processor
Class RemotingDispatcher
java.lang.Object
com.github.ltsopensource.jobtracker.processor.AbstractRemotingProcessor
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 总的处理器, 每一种命令对应不同的处理器
|
Method Summary |
com.github.ltsopensource.remoting.protocol.RemotingCommand |
processRequest(com.github.ltsopensource.remoting.Channel channel,
com.github.ltsopensource.remoting.protocol.RemotingCommand request)
|
RemotingDispatcher
public RemotingDispatcher(JobTrackerAppContext appContext)
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.