MethodDispatcher Interface
public interface MethodDispatcher
This interface defines api to handle dispatches requests from the client to the interface/method of the remoted object.
Method Summary
Modifier and Type | Method and Description |
---|---|
void | dispatch(Object objectImplementation, int methodId, Object requestBody) |
CompletableFuture<Object> | dispatchAsync(Object objectImplementation, int methodId, Object requestBody, CancellationToken cancellationToken) |
int | getInterfaceId() |
String | getMethodName(int methodId) |
Method Details
dispatch
public void dispatch(Object objectImplementation, int methodId, Object requestBody)
Parameters:
objectImplementation
methodId
requestBody
dispatchAsync
public CompletableFuture
Parameters:
objectImplementation
methodId
requestBody
cancellationToken
getInterfaceId
public int getInterfaceId()
getMethodName
public String getMethodName(int methodId)
Parameters:
methodId
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for