FabricTransportServiceRemotingListener Constructors

Definition

Overloads

FabricTransportServiceRemotingListener(ServiceContext, IService)

Constructs a fabric transport based service remoting listener with default FabricTransportRemotingListenerSettings.

FabricTransportServiceRemotingListener(ServiceContext, IServiceRemotingMessageHandler)

Constructs a fabric transport based service remoting listener with default FabricTransportRemotingListenerSettings.

FabricTransportServiceRemotingListener(ServiceContext, IService, FabricTransportRemotingListenerSettings)

Constructs a fabric transport based service remoting listener with the specified FabricTransportRemotingListenerSettings.

FabricTransportServiceRemotingListener(ServiceContext, IService, String)

Constructs a fabric transport based service remoting listener with FabricTransportRemotingListenerSettings loaded from configuration section.

FabricTransportServiceRemotingListener(ServiceContext, IServiceRemotingMessageHandler, FabricTransportRemotingListenerSettings)

Constructs a fabric transport based service remoting listener with the specified FabricTransportRemotingListenerSettings.

FabricTransportServiceRemotingListener(ServiceContext, IServiceRemotingMessageHandler, String)

Constructs a fabric transport based service remoting listener with FabricTransportRemotingListenerSettings loaded from configuration section.

FabricTransportServiceRemotingListener(ServiceContext, IService)

Constructs a fabric transport based service remoting listener with default FabricTransportRemotingListenerSettings.

public FabricTransportServiceRemotingListener (System.Fabric.ServiceContext serviceContext, Microsoft.ServiceFabric.Services.Remoting.IService serviceImplementation);
new Microsoft.ServiceFabric.Services.Remoting.V1.FabricTransport.Runtime.FabricTransportServiceRemotingListener : System.Fabric.ServiceContext * Microsoft.ServiceFabric.Services.Remoting.IService -> Microsoft.ServiceFabric.Services.Remoting.V1.FabricTransport.Runtime.FabricTransportServiceRemotingListener

Parameters

serviceContext
ServiceContext

The context of the service for which the remoting listener is being constructed.

serviceImplementation
IService

The service implementation object used to construct ServiceRemotingDispatcher for message processing.

Applies to

FabricTransportServiceRemotingListener(ServiceContext, IServiceRemotingMessageHandler)

Constructs a fabric transport based service remoting listener with default FabricTransportRemotingListenerSettings.

public FabricTransportServiceRemotingListener (System.Fabric.ServiceContext serviceContext, Microsoft.ServiceFabric.Services.Remoting.V1.Runtime.IServiceRemotingMessageHandler messageHandler);
new Microsoft.ServiceFabric.Services.Remoting.V1.FabricTransport.Runtime.FabricTransportServiceRemotingListener : System.Fabric.ServiceContext * Microsoft.ServiceFabric.Services.Remoting.V1.Runtime.IServiceRemotingMessageHandler -> Microsoft.ServiceFabric.Services.Remoting.V1.FabricTransport.Runtime.FabricTransportServiceRemotingListener

Parameters

serviceContext
ServiceContext

The context of the service for which the remoting listener is being constructed.

messageHandler
IServiceRemotingMessageHandler

The handler for processing remoting messages. As the messages are received, the listener delivers them to this handler.

Applies to

FabricTransportServiceRemotingListener(ServiceContext, IService, FabricTransportRemotingListenerSettings)

Constructs a fabric transport based service remoting listener with the specified FabricTransportRemotingListenerSettings.

public FabricTransportServiceRemotingListener (System.Fabric.ServiceContext serviceContext, Microsoft.ServiceFabric.Services.Remoting.IService serviceImplementation, Microsoft.ServiceFabric.Services.Remoting.FabricTransport.Runtime.FabricTransportRemotingListenerSettings listenerSettings);
new Microsoft.ServiceFabric.Services.Remoting.V1.FabricTransport.Runtime.FabricTransportServiceRemotingListener : System.Fabric.ServiceContext * Microsoft.ServiceFabric.Services.Remoting.IService * Microsoft.ServiceFabric.Services.Remoting.FabricTransport.Runtime.FabricTransportRemotingListenerSettings -> Microsoft.ServiceFabric.Services.Remoting.V1.FabricTransport.Runtime.FabricTransportServiceRemotingListener

Parameters

serviceContext
ServiceContext

The context of the service for which the remoting listener is being constructed.

serviceImplementation
IService

The service implementation object used to construct ServiceRemotingDispatcher for message processing.

listenerSettings
FabricTransportRemotingListenerSettings

The settings for the listener.

Applies to

FabricTransportServiceRemotingListener(ServiceContext, IService, String)

Constructs a fabric transport based service remoting listener with FabricTransportRemotingListenerSettings loaded from configuration section.

public FabricTransportServiceRemotingListener (System.Fabric.ServiceContext serviceContext, Microsoft.ServiceFabric.Services.Remoting.IService serviceImplementation, string listenerSettingsConfigSectionName);
new Microsoft.ServiceFabric.Services.Remoting.V1.FabricTransport.Runtime.FabricTransportServiceRemotingListener : System.Fabric.ServiceContext * Microsoft.ServiceFabric.Services.Remoting.IService * string -> Microsoft.ServiceFabric.Services.Remoting.V1.FabricTransport.Runtime.FabricTransportServiceRemotingListener

Parameters

serviceContext
ServiceContext

The context of the service for which the remoting listener is being constructed.

serviceImplementation
IService

The service implementation object used to construct ServiceRemotingDispatcher for message processing.

listenerSettingsConfigSectionName
System.String

The name of the configuration section in the configuration package named "Config" in the service manifest that defines the settings for the listener.

Applies to

FabricTransportServiceRemotingListener(ServiceContext, IServiceRemotingMessageHandler, FabricTransportRemotingListenerSettings)

Constructs a fabric transport based service remoting listener with the specified FabricTransportRemotingListenerSettings.

public FabricTransportServiceRemotingListener (System.Fabric.ServiceContext serviceContext, Microsoft.ServiceFabric.Services.Remoting.V1.Runtime.IServiceRemotingMessageHandler messageHandler, Microsoft.ServiceFabric.Services.Remoting.FabricTransport.Runtime.FabricTransportRemotingListenerSettings listenerSettings);
new Microsoft.ServiceFabric.Services.Remoting.V1.FabricTransport.Runtime.FabricTransportServiceRemotingListener : System.Fabric.ServiceContext * Microsoft.ServiceFabric.Services.Remoting.V1.Runtime.IServiceRemotingMessageHandler * Microsoft.ServiceFabric.Services.Remoting.FabricTransport.Runtime.FabricTransportRemotingListenerSettings -> Microsoft.ServiceFabric.Services.Remoting.V1.FabricTransport.Runtime.FabricTransportServiceRemotingListener

Parameters

serviceContext
ServiceContext

The context of the service for which the remoting listener is being constructed.

messageHandler
IServiceRemotingMessageHandler

The handler for processing remoting messages. As the messages are received, the listener delivers them to this handler.

listenerSettings
FabricTransportRemotingListenerSettings

The settings to use for the listener.

Applies to

FabricTransportServiceRemotingListener(ServiceContext, IServiceRemotingMessageHandler, String)

Constructs a fabric transport based service remoting listener with FabricTransportRemotingListenerSettings loaded from configuration section.

public FabricTransportServiceRemotingListener (System.Fabric.ServiceContext serviceContext, Microsoft.ServiceFabric.Services.Remoting.V1.Runtime.IServiceRemotingMessageHandler messageHandler, string listenerSettingsConfigSectionName);
new Microsoft.ServiceFabric.Services.Remoting.V1.FabricTransport.Runtime.FabricTransportServiceRemotingListener : System.Fabric.ServiceContext * Microsoft.ServiceFabric.Services.Remoting.V1.Runtime.IServiceRemotingMessageHandler * string -> Microsoft.ServiceFabric.Services.Remoting.V1.FabricTransport.Runtime.FabricTransportServiceRemotingListener

Parameters

serviceContext
ServiceContext

The context of the service for which the remoting listener is being constructed.

messageHandler
IServiceRemotingMessageHandler

The handler for processing remoting messages. As the messages are received, the listener delivers them to this handler.

listenerSettingsConfigSectionName
System.String

The name of the configuration section in the configuration package named "Config" in the service manifest that defines the settings for the listener.

Applies to