FabricTransportRemotingListenerSettings Class

Definition

Settings that configures the FabricTransport Listener.

public class FabricTransportRemotingListenerSettings
type FabricTransportRemotingListenerSettings = class
Public Class FabricTransportRemotingListenerSettings
Inheritance
FabricTransportRemotingListenerSettings

Constructors

FabricTransportRemotingListenerSettings()

Initializes a new instance of the FabricTransportRemotingListenerSettings class with default values.

Properties

EndpointResourceName

Gets or sets the name of the endpoint resource specified in ServiceManifest. This is used to obtain the port number on which to service will listen.

ExceptionSerializationTechnique

Gets or sets the exception serialization technique.

HeaderBufferSize

Gets or sets headerBufferSize which represents size of each header buffer in the bufferPool . Default Remoting Serialization is using BufferPooling to avoid allocation every time. So If you are adding any header in Microsoft.ServiceFabric.Services.Remoting.V2.ServiceRemotingRequestMessageHeader , which can increase the headerSize to be larger than BufferSize, it is recomended then to change this value to higher value .If bufferSize is less than serialized header bytes, we copy the header to larger buffer.

HeaderMaxBufferCount

Gets or sets headerMaxBufferCount which represents the maximum number of header buffers assigned to the BufferPool.

KeepAliveTimeout

Gets or sets keepAliveTimeout which provides a way to configure Tcp keep-alive option.

MaxConcurrentCalls

Gets or sets the maxConcurrentCalls which represents maximum number of messages actively service processes at one time.

MaxMessageSize

Gets or sets Max MessageSize for a message that can be received on a channel configured with this setting.

MaxQueueSize

Gets or sets the maximum size, of a queue that stores messages while they are processed for an endpoint configured with this setting.

OperationTimeout

Gets or sets operation Timeout which governs the whole process of sending a message, including receiving a reply message for a request/reply service operation. This timeout also applies when sending reply messages from a callback contract method.

RemotingExceptionDepth

Gets or sets the depth of exceptions to be sent to the client incase of remoting call failing with exception.

SecurityCredentials

Gets or sets security credentials for securing the communication

UseWrappedMessage

Gets or sets a value indicating whether the remoting method parameters should be wrapped or not before sending it over the wire. When UseWrappedMessage is set to false, parameters will not be wrapped. When this value is set to true, the parameters will be wrapped.Default value is false.

Methods

LoadFrom(String, String)

Loads the FabricTransport settings from a section specified in the service settings configuration file - settings.xml

TryLoadFrom(String, FabricTransportRemotingListenerSettings, String)

Try to load the FabricTransport settings from a section specified in the service settings configuration file - settings.xml

Applies to