ServiceMethodDispatcherBase Class
- java.
lang. Object - MethodDispatcher
- MethodDispatcherBase
- MethodDispatcherBaseWithSerializer
- microsoft.
servicefabric. services. remoting. builder. ServiceMethodDispatcherBase
- microsoft.
public class ServiceMethodDispatcherBase extends MethodDispatcherBaseWithSerializer
Abstract class to create Service method dispatcher object. For internal use only.
Method Summary
Modifier and Type | Method and Description |
---|---|
Object | createResponseMessageBody(Object responseMessageBodyValue) |
Service |
deserializeRequestMessageBody(byte[] requestMsgBodyBytes) |
Object | getRequestMessageBodyValue(Object requestMessageBody) |
byte [] | serializeResponseMessageBody(Object responseMsgBody) |
Inherited Members
MethodDispatcherBase.continueWith(CompletableFuture<?> future)
MethodDispatcherBase.createResponseBody(int methodId, Object returnValue)
MethodDispatcherBase.dispatch(Object objectImplementation, int methodId, Object requestMsgBody)
MethodDispatcherBase.dispatchAsync(Object objectImplementation, int methodId, Object requestMsgBody, CancellationToken cancellationToken)
MethodDispatcherBase.getInterfaceId()
MethodDispatcherBase.getMethodName(int methodId)
MethodDispatcherBase.initialize(int interfaceId, Map<Integer, String> methodNameMap)
MethodDispatcherBase.onDispatch(int methodId, Object remotedObject, Object requestBody)
MethodDispatcherBase.onDispatchAsync(int methodId, Object remotedObject, Object requestBody, CancellationToken cancellationToken)
Method Details
createResponseMessageBody
public Object createResponseMessageBody(Object responseMessageBodyValue)
Parameters:
responseMessageBodyValue
deserializeRequestMessageBody
public ServiceRemotingMessageBody deserializeRequestMessageBody(byte[] requestMsgBodyBytes)
Parameters:
requestMsgBodyBytes
getRequestMessageBodyValue
public Object getRequestMessageBodyValue(Object requestMessageBody)
Parameters:
requestMessageBody
serializeResponseMessageBody
public byte [] serializeResponseMessageBody(Object responseMsgBody)
Parameters:
responseMsgBody
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java