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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Java