FabricTransportServiceRemotingListener 构造函数

定义

重载

FabricTransportServiceRemotingListener(ServiceContext serviceContext, Service serviceImplementation)

Constructs a fabric transport based service remoting listener.

FabricTransportServiceRemotingListener(ServiceContext serviceContext, Service serviceImplementation, FabricTransportRemotingListenerSettings listenerSettings)

Constructs a fabric transport based service remoting listener that uses the specified settings.

FabricTransportServiceRemotingListener(ServiceContext serviceContext, Service serviceImplementation, String listenerSettingsConfigSectionName)

Constructs a fabric Transport based service remoting listener.

FabricTransportServiceRemotingListener(ServiceContext serviceContext, ServiceRemotingMessageHandler messageHandler)

Constructs a fabric transport based service remoting listener.

FabricTransportServiceRemotingListener(ServiceContext serviceContext, ServiceRemotingMessageHandler messageHandler, FabricTransportRemotingListenerSettings listenerSettings)

Constructs a fabric Transport based service remoting listener.

FabricTransportServiceRemotingListener(ServiceContext serviceContext, ServiceRemotingMessageHandler messageHandler, String listenerSettingsConfigSectionName)

Constructs a fabric transport based service remoting listener.

FabricTransportServiceRemotingListener(ServiceContext serviceContext, Service serviceImplementation)

Constructs a fabric transport based service remoting listener.

public FabricTransportServiceRemotingListener(ServiceContext serviceContext, Service serviceImplementation)

参数

serviceContext
ServiceContext

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

serviceImplementation
Service

The service implementation object.

FabricTransportServiceRemotingListener(ServiceContext serviceContext, Service serviceImplementation, FabricTransportRemotingListenerSettings listenerSettings)

Constructs a fabric transport based service remoting listener that uses the specified settings.

public FabricTransportServiceRemotingListener(ServiceContext serviceContext, Service serviceImplementation, FabricTransportRemotingListenerSettings listenerSettings)

参数

serviceContext
ServiceContext

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

serviceImplementation
Service

The service implementation object.

listenerSettings
FabricTransportRemotingListenerSettings

The settings for the listener.

FabricTransportServiceRemotingListener(ServiceContext serviceContext, Service serviceImplementation, String listenerSettingsConfigSectionName)

Constructs a fabric Transport based service remoting listener.

public FabricTransportServiceRemotingListener(ServiceContext serviceContext, Service serviceImplementation, String listenerSettingsConfigSectionName)

参数

serviceContext
ServiceContext

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

serviceImplementation
Service

The service implementation object.

listenerSettingsConfigSectionName
String

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

FabricTransportServiceRemotingListener(ServiceContext serviceContext, ServiceRemotingMessageHandler messageHandler)

Constructs a fabric transport based service remoting listener.

public FabricTransportServiceRemotingListener(ServiceContext serviceContext, ServiceRemotingMessageHandler messageHandler)

参数

serviceContext
ServiceContext

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

messageHandler
ServiceRemotingMessageHandler

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

FabricTransportServiceRemotingListener(ServiceContext serviceContext, ServiceRemotingMessageHandler messageHandler, FabricTransportRemotingListenerSettings listenerSettings)

Constructs a fabric Transport based service remoting listener.

public FabricTransportServiceRemotingListener(ServiceContext serviceContext, ServiceRemotingMessageHandler messageHandler, FabricTransportRemotingListenerSettings listenerSettings)

参数

serviceContext
ServiceContext

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

messageHandler
ServiceRemotingMessageHandler

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

listenerSettings
FabricTransportRemotingListenerSettings

The service implementation object.

FabricTransportServiceRemotingListener(ServiceContext serviceContext, ServiceRemotingMessageHandler messageHandler, String listenerSettingsConfigSectionName)

Constructs a fabric transport based service remoting listener.

public FabricTransportServiceRemotingListener(ServiceContext serviceContext, ServiceRemotingMessageHandler messageHandler, String listenerSettingsConfigSectionName)

参数

serviceContext
ServiceContext

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

messageHandler
ServiceRemotingMessageHandler

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

listenerSettingsConfigSectionName
String

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

适用于