FabricTransportServiceRemotingProvider.createServiceRemotingListener(ServiceContext serviceContext, Service serviceImplementation) 方法

定义

Creates a service remoting listener for remoting the service interface.

public ServiceRemotingListener createServiceRemotingListener(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.

返回

A FabricTransportServiceRemotingProvider as ServiceRemotingListener for the specified service implementation.

适用于