ActorServiceRemotingDispatcher Class
- java.
lang. Object - ServiceRemotingMessageHandler
- ServiceRemotingDispatcher
- microsoft.
servicefabric. actors. remoting. runtime. ActorServiceRemotingDispatcher
- microsoft.
public class ActorServiceRemotingDispatcher extends ServiceRemotingDispatcher
Provides an implementation of ServiceRemotingMessageHandler that can dispatch messages to an actor service and to the actors hosted in the service.
Constructor Summary
Constructor | Description |
---|---|
ActorServiceRemotingDispatcher(FabricActorService actorService) |
Instantiates the ActorServiceRemotingDispatcher that can dispatch messages to an actor service and to the actors hosted in the service. |
Method Summary
Modifier and Type | Method and Description |
---|---|
CompletableFuture<byte[]> |
requestResponseAsync(ServiceRemotingRequestContext requestContext, ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody)
Dispatches the messages received from the client to the actor service methods or the actor methods. |
Inherited Members
Constructor Details
ActorServiceRemotingDispatcher
public ActorServiceRemotingDispatcher(FabricActorService actorService)
Instantiates the ActorServiceRemotingDispatcher that can dispatch messages to an actor service and to the actors hosted in the service.
Parameters:
Method Details
requestResponseAsync
public CompletableFuture
Dispatches the messages received from the client to the actor service methods or the actor methods.
Overrides:
ActorServiceRemotingDispatcher.requestResponseAsync(ServiceRemotingRequestContext requestContext, ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody)Parameters:
Returns:
Applies to
Azure SDK for Java