ServiceRemotingCallbackClient Interface
public interface ServiceRemotingCallbackClient
Defines the interface that must be implemented for providing callback mechanism from the remoting listener to the client.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
oneWayMessage(ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody)
Sends a one way message to the client. |
CompletableFuture<byte[]> |
requestResponseAsync(ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody)
Sends a message to the client and gets the response. |
Method Details
oneWayMessage
public void oneWayMessage(ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody)
Sends a one way message to the client.
Parameters:
Throws:
requestResponseAsync
public CompletableFuture
Sends a message to the client and gets the response.
Parameters:
Returns:
Applies to
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