public class DefaultMindAppmasterServiceClient extends MindAppmasterServiceClient
MindAppmasterServiceClient
which
handles the message serialization using type information in
mind message headers.Constructor and Description |
---|
DefaultMindAppmasterServiceClient() |
Modifier and Type | Method and Description |
---|---|
protected BaseResponseObject |
getBaseResponseObject(RpcMessage<?> rpcMessage)
This method is called from
MindAppmasterServiceClient.doMindRequest(BaseObject) to convert
the response content back to mind BaseResponseObject . |
doMindRequest, getPayload
get, setRequestChannel, setResponseChannel
getConversionService, setConversionService
afterPropertiesSet, doStart, doStop, getBeanFactory, getPhase, getTaskExecutor, getTaskScheduler, getYarnEventPublisher, isAutoStartup, isRunning, onInit, setAutoStartup, setBeanFactory, setPhase, setTaskExecutor, setTaskScheduler, setYarnEventPublisher, start, stop, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
protected BaseResponseObject getBaseResponseObject(RpcMessage<?> rpcMessage)
MindAppmasterServiceClient
MindAppmasterServiceClient.doMindRequest(BaseObject)
to convert
the response content back to mind BaseResponseObject
. This class
itself can't have enough knowledge to do the conversion so process
is left to implementor.getBaseResponseObject
in class MindAppmasterServiceClient
rpcMessage
- the rpc messageBaseResponseObject
build from a RpcMessage