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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for Java