Udostępnij za pośrednictwem


FabricTransportActorRemotingClientFactory Class

Definition

An IServiceRemotingClientFactory that uses Fabric TCP transport to create IServiceRemotingClient that communicate with actors over interfaces that are remoted via FabricTransportServiceRemotingListener.

public class FabricTransportActorRemotingClientFactory : Microsoft.ServiceFabric.Services.Remoting.V2.FabricTransport.Client.FabricTransportServiceRemotingClientFactory
type FabricTransportActorRemotingClientFactory = class
    inherit FabricTransportServiceRemotingClientFactory
Public Class FabricTransportActorRemotingClientFactory
Inherits FabricTransportServiceRemotingClientFactory
Inheritance
FabricTransportActorRemotingClientFactory

Constructors

FabricTransportActorRemotingClientFactory(FabricTransportRemotingSettings, IServiceRemotingCallbackMessageHandler, IServicePartitionResolver, IEnumerable<IExceptionHandler>, String, IServiceRemotingMessageSerializationProvider, IEnumerable<IExceptionConvertor>)

Initializes a new instance of the FabricTransportActorRemotingClientFactory class.

FabricTransportActorRemotingClientFactory(IServiceRemotingCallbackMessageHandler)

Initializes a new instance of the FabricTransportActorRemotingClientFactory class.

Methods

Dispose()

Releases managed/unmanaged resources. Dispose Method is being added rather than making it IDisposable so that it doesn't change type information and wont be a breaking change.

(Inherited from FabricTransportServiceRemotingClientFactory)
GetClientAsync(ResolvedServicePartition, TargetReplicaSelector, String, OperationRetrySettings, CancellationToken)

Re-resolves a partition of the specified service containing one or more communication listeners and returns a client to communicate to the endpoint corresponding to the given listenerName. The endpoint of the service is of the form - {"Endpoints":{"Listener1":"Endpoint1","Listener2":"Endpoint2" ...}}

(Inherited from FabricTransportServiceRemotingClientFactory)
GetClientAsync(Uri, ServicePartitionKey, TargetReplicaSelector, String, OperationRetrySettings, CancellationToken)

Resolves a partition of the specified service containing one or more communication listeners and returns a client to communicate to the endpoint corresponding to the given listenerName. The endpoint of the service is of the form - {"Endpoints":{"Listener1":"Endpoint1","Listener2":"Endpoint2" ...}}

(Inherited from FabricTransportServiceRemotingClientFactory)
GetRemotingMessageBodyFactory()

Gets a factory for creating the remoting message bodies.

(Inherited from FabricTransportServiceRemotingClientFactory)
ReportOperationExceptionAsync(IServiceRemotingClient, ExceptionInformation, OperationRetrySettings, CancellationToken)

Handles the exceptions that occur in the CommunicationClient when sending a message to the Service

(Inherited from FabricTransportServiceRemotingClientFactory)

Events

ClientConnected

Event handler that is fired when a client is connected to the service endpoint.

(Inherited from FabricTransportServiceRemotingClientFactory)
ClientDisconnected

Event handler that is fired when a client is disconnected from the service endpoint.

(Inherited from FabricTransportServiceRemotingClientFactory)

Applies to