Share via


FabricTransportActorRemotingProviderAttribute Class

Definition

Sets fabric TCP transport as the default remoting provider for the actors.

[System.AttributeUsage(System.AttributeTargets.Assembly)]
public class FabricTransportActorRemotingProviderAttribute : Microsoft.ServiceFabric.Actors.Remoting.ActorRemotingProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Assembly)>]
type FabricTransportActorRemotingProviderAttribute = class
    inherit ActorRemotingProviderAttribute
Public Class FabricTransportActorRemotingProviderAttribute
Inherits ActorRemotingProviderAttribute
Inheritance
FabricTransportActorRemotingProviderAttribute
Attributes

Constructors

FabricTransportActorRemotingProviderAttribute()

Initializes a new instance of the FabricTransportActorRemotingProviderAttribute class which can be used to set fabric TCP transport as the default remoting provider for the actors.

Properties

ConnectTimeoutInMilliseconds

Gets or Sets the connect timeout in milliseconds. This settings specifies the maximum time allowed for the connection to be established.

KeepAliveTimeoutInSeconds

Gets or Sets the keep alive timeout in seconds. This settings is useful in the scenario when the client and service are connected via load balancer that closes the connection if it is idle for some time. If keep alive timeout is configured, the connection will be kept alive by sending ping messages at that interval.

MaxMessageSize

Gets or Sets the maximum size of the remoting message in bytes. If value for this property is not specified or it is less than or equals to zero, a default value of 4,194,304 bytes (4 MB) is used.

OperationTimeoutInSeconds

Gets or Sets the operation timeout in seconds. If the operation is not completed in the specified time, it will be timed out. By default, exception handler of FabricTransportServiceRemotingClientFactory /> retries the timed out exception. It is recommended to not change the operation timeout from it's default value.

RemotingClientVersion

Gets or sets RemotingClientVersion to determine where V1 or V2 remoting Client is used.

(Inherited from ActorRemotingProviderAttribute)
RemotingListenerVersion

Gets or sets RemotingListenerVersion to determine where listener is in V1, V2 .

(Inherited from ActorRemotingProviderAttribute)

Methods

CreateServiceRemotingClientFactory(IServiceRemotingCallbackMessageHandler)

Creates a service remoting client factory that can be used by the Microsoft.ServiceFabric.Services.Remoting.V2.Client.ServiceProxyFactory to create a proxy for the remoted interface of the service.

CreateServiceRemotingListeners()

Creates a service remoting listener for remoting the actor interfaces.

Applies to