ServiceRemotingClient Interface
public interface ServiceRemotingClient extends CommunicationClient
Defines the interface that must be implemented to provide a client for Service Remoting communication.
Method Summary
Modifier and Type | Method and Description |
---|---|
CompletableFuture<byte[]> |
requestResponseAsync(ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody)
Sends a message to the service and gets a response back. |
void |
sendOneWay(ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody)
Sends a one-way message to the service |
Inherited Members
Method Details
requestResponseAsync
public CompletableFuture
Sends a message to the service and gets a response back.
Parameters:
Returns:
sendOneWay
public void sendOneWay(ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody)
Sends a one-way message to the service
Parameters:
Applies to
Azure SDK for Java
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente las Cuestiones de GitHub como mecanismo de retroalimentación para el contenido y lo sustituiremos por un nuevo sistema de retroalimentación. Para más información, consulta:Enviar y ver comentarios de