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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java