FabricTransportActorRemotingClientFactory 构造函数

定义

重载

FabricTransportActorRemotingClientFactory(FabricTransportRemotingSettings fabricTransportSettings, ServiceRemotingCallbackClient callbackClient, ServicePartitionResolver servicePartitionResolver, List<ExceptionHandler> exceptionHandlers, String traceId)

Constructs a fabric transport based actor remoting client factory.

FabricTransportActorRemotingClientFactory(ServiceRemotingCallbackClient callbackClient)

Constructs a fabric transport based actor remoting client factory.

FabricTransportActorRemotingClientFactory(FabricTransportRemotingSettings fabricTransportSettings, ServiceRemotingCallbackClient callbackClient, ServicePartitionResolver servicePartitionResolver, List<ExceptionHandler> exceptionHandlers, String traceId)

Constructs a fabric transport based actor remoting client factory.

public FabricTransportActorRemotingClientFactory(FabricTransportRemotingSettings fabricTransportSettings, ServiceRemotingCallbackClient callbackClient, ServicePartitionResolver servicePartitionResolver, List<ExceptionHandler> exceptionHandlers, String traceId)

参数

fabricTransportSettings
FabricTransportRemotingSettings

The settings for the fabric transport. If the settings are not provided or null, default settings with no security.

callbackClient
ServiceRemotingCallbackClient

The callback client that receives the callbacks from the service.

servicePartitionResolver
ServicePartitionResolver

Service partition resolver to resolve the service endpoints. If not specified, a default service partition resolver returned by getDefault() is used.

exceptionHandlers
List<ExceptionHandler>

Exception handlers to handle the exceptions encountered in communicating with the actor.

traceId
String

Id to use in diagnostics traces from this component.

FabricTransportActorRemotingClientFactory(ServiceRemotingCallbackClient callbackClient)

Constructs a fabric transport based actor remoting client factory.

public FabricTransportActorRemotingClientFactory(ServiceRemotingCallbackClient callbackClient)

参数

callbackClient
ServiceRemotingCallbackClient

The callback client that receives the callbacks from the service.

适用于