ServiceRemotingMessageHandler Interface
public interface ServiceRemotingMessageHandler
Defines the interface that must be implemented by the ServiceRemotingListener to receive messages from the remoting transport.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
handleOneWay(ServiceRemotingRequestContext requestContext, ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody)
Handles a one way message from the client. |
CompletableFuture<byte[]> |
requestResponseAsync(ServiceRemotingRequestContext requestContext, ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody)
Handles a message from the client that requires a response from the service. |
Method Details
handleOneWay
public void handleOneWay(ServiceRemotingRequestContext requestContext, ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody)
Handles a one way message from the client.
Parameters:
requestResponseAsync
public CompletableFuture
Handles a message from the client that requires a response from the service.
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