public abstract class MindAppmasterService extends IntegrationAppmasterService<MindRpcMessageHolder>
AppmasterService
which handles communication
via Spring Int tcp channels using mind protocol.Constructor and Description |
---|
MindAppmasterService() |
Modifier and Type | Method and Description |
---|---|
RpcMessage<MindRpcMessageHolder> |
handleMessageInternal(RpcMessage<MindRpcMessageHolder> message)
Implementor need to write this method to process
incoming messages.
|
protected abstract MindRpcMessageHolder |
handleMindMessageInternal(MindRpcMessageHolder message)
Internal message handling for
MindRpcMessageHolder . |
doStart, doStop, getHost, getPort, hasPort, setMessageChannel, setSocketSupport
getConversionService, setConversionService
afterPropertiesSet, getBeanFactory, getPhase, getTaskExecutor, getTaskScheduler, getYarnEventPublisher, isAutoStartup, isRunning, onInit, setAutoStartup, setBeanFactory, setPhase, setTaskExecutor, setTaskScheduler, setYarnEventPublisher, start, stop, stop
public RpcMessage<MindRpcMessageHolder> handleMessageInternal(RpcMessage<MindRpcMessageHolder> message)
IntegrationAppmasterService
handleMessageInternal
in class IntegrationAppmasterService<MindRpcMessageHolder>
message
- the rpc message wrapping a protocol contentprotected abstract MindRpcMessageHolder handleMindMessageInternal(MindRpcMessageHolder message)
MindRpcMessageHolder
.message
- the MindRpcMessageHolder
MindRpcMessageHolder