IServiceRemotingClientFactory IServiceRemotingClientFactory IServiceRemotingClientFactory Interface

Definition

Defines the interface that must be implemented for providing the remoting communication client factory.

public interface IServiceRemotingClientFactory : Microsoft.ServiceFabric.Services.Communication.Client.ICommunicationClientFactory<Microsoft.ServiceFabric.Services.Remoting.V1.Client.IServiceRemotingClient>
type IServiceRemotingClientFactory = interface
    interface ICommunicationClientFactory<IServiceRemotingClient>
Public Interface IServiceRemotingClientFactory
Implements ICommunicationClientFactory(Of IServiceRemotingClient)
Derived
Implements

Events

ClientConnected ClientConnected ClientConnected

Event handler that is fired when the Communication client connects to the service endpoint.

(Inherited from ICommunicationClientFactory<TCommunicationClient>)

ClientDisconnected ClientDisconnected ClientDisconnected

Event handler that is fired when the Communication client disconnects from the service endpoint.

(Inherited from ICommunicationClientFactory<TCommunicationClient>)

Methods

GetClientAsync(ResolvedServicePartition, TargetReplicaSelector, String, OperationRetrySettings, CancellationToken) GetClientAsync(ResolvedServicePartition, TargetReplicaSelector, String, OperationRetrySettings, CancellationToken) 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 ICommunicationClientFactory<TCommunicationClient>)

GetClientAsync(Uri, ServicePartitionKey, TargetReplicaSelector, String, OperationRetrySettings, CancellationToken) GetClientAsync(Uri, ServicePartitionKey, TargetReplicaSelector, String, OperationRetrySettings, CancellationToken) 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 ICommunicationClientFactory<TCommunicationClient>)

ReportOperationExceptionAsync(TCommunicationClient, ExceptionInformation, OperationRetrySettings, CancellationToken) ReportOperationExceptionAsync(TCommunicationClient, ExceptionInformation, OperationRetrySettings, CancellationToken) ReportOperationExceptionAsync(TCommunicationClient, ExceptionInformation, OperationRetrySettings, CancellationToken)

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

(Inherited from ICommunicationClientFactory<TCommunicationClient>)

Applies to