IServiceRemotingClientFactory Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A factory for creating service remoting clients.
public interface IServiceRemotingClientFactory : Microsoft.ServiceFabric.Services.Communication.Client.ICommunicationClientFactory<Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingClient>
type IServiceRemotingClientFactory = interface
interface ICommunicationClientFactory<IServiceRemotingClient>
Public Interface IServiceRemotingClientFactory
Implements ICommunicationClientFactory(Of IServiceRemotingClient)
- Derived
- Implements
Methods
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) |
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>) |
GetRemotingMessageBodyFactory() |
Gets a factory for creating the remoting message bodies. |
ReportOperationExceptionAsync(TCommunicationClient, ExceptionInformation, OperationRetrySettings, CancellationToken) |
Handles the exceptions that occur in the CommunicationClient when sending a message to the Service (Inherited from ICommunicationClientFactory<TCommunicationClient>) |
Events
ClientConnected |
Event handler that is fired when the Communication client connects to the service endpoint. (Inherited from ICommunicationClientFactory<TCommunicationClient>) |
ClientDisconnected |
Event handler that is fired when the Communication client disconnects from the service endpoint. (Inherited from ICommunicationClientFactory<TCommunicationClient>) |
Applies to
Azure SDK for .NET