FabricTransportServiceRemotingProviderAttribute FabricTransportServiceRemotingProviderAttribute FabricTransportServiceRemotingProviderAttribute Class

Definition

Sets Fabric TCP transport as the default service remoting transport provider in the assembly.

public class FabricTransportServiceRemotingProviderAttribute : Microsoft.ServiceFabric.Services.Remoting.ServiceRemotingProviderAttribute
type FabricTransportServiceRemotingProviderAttribute = class
    inherit ServiceRemotingProviderAttribute
Public Class FabricTransportServiceRemotingProviderAttribute
Inherits ServiceRemotingProviderAttribute
Inheritance
FabricTransportServiceRemotingProviderAttributeFabricTransportServiceRemotingProviderAttributeFabricTransportServiceRemotingProviderAttribute

Constructors

FabricTransportServiceRemotingProviderAttribute() FabricTransportServiceRemotingProviderAttribute() FabricTransportServiceRemotingProviderAttribute()

Constructs a FabricTransportServiceRemotingProviderAttribute which can be used to set Fabric TCP transport as the default service remoting transport provider in the assembly.

Properties

ConnectTimeoutInMilliseconds ConnectTimeoutInMilliseconds ConnectTimeoutInMilliseconds

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

KeepAliveTimeoutInSeconds KeepAliveTimeoutInSeconds 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 MaxMessageSize 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 OperationTimeoutInSeconds 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.

RemotingClient RemotingClient RemotingClient

RemotingClient is used to determine where V1 or V2 remoting Client is used.

(Inherited from ServiceRemotingProviderAttribute)
RemotingListener RemotingListener RemotingListener

RemotingListener is used to determine where listener is in V1, V2 or Compact Mode.

(Inherited from ServiceRemotingProviderAttribute)

Methods

CreateServiceRemotingClientFactory(IServiceRemotingCallbackClient) CreateServiceRemotingClientFactory(IServiceRemotingCallbackClient) CreateServiceRemotingClientFactory(IServiceRemotingCallbackClient)

Creates a V1 service remoting client factory for connecting to the service over remoted service interfaces.

CreateServiceRemotingClientFactoryV2(IServiceRemotingCallbackMessageHandler) CreateServiceRemotingClientFactoryV2(IServiceRemotingCallbackMessageHandler) CreateServiceRemotingClientFactoryV2(IServiceRemotingCallbackMessageHandler)

Creates a V2 service remoting client factory for connecting to the service over remoted service interfaces.

CreateServiceRemotingListener(ServiceContext, IService) CreateServiceRemotingListener(ServiceContext, IService) CreateServiceRemotingListener(ServiceContext, IService)

Creates a service remoting listener for remoting the service interface.

CreateServiceRemotingListenerV2(ServiceContext, IService) CreateServiceRemotingListenerV2(ServiceContext, IService) CreateServiceRemotingListenerV2(ServiceContext, IService)

Creates a V2 service remoting listener for remoting the service interface.

Applies to