你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceRemotingProvider Class

  • java.lang.Object
    • microsoft.servicefabric.services.remoting.ServiceRemotingProvider

public class ServiceRemotingProvider

This is a base type that sets the default service remoting provider to use for remoting the service interfaces.

Method Summary

Modifier and Type Method and Description
abstract ServiceRemotingClientFactory createServiceRemotingClientFactory(ServiceRemotingCallbackClient callbackClient)
abstract ServiceRemotingListener createServiceRemotingListener(ServiceContext serviceContext, Service serviceImplementation)
ServiceRemotingProvider getProvider(Class<?> type)

Method Details

createServiceRemotingClientFactory

public abstract ServiceRemotingClientFactory createServiceRemotingClientFactory(ServiceRemotingCallbackClient callbackClient)

Parameters:

callbackClient

createServiceRemotingListener

public abstract ServiceRemotingListener createServiceRemotingListener(ServiceContext serviceContext, Service serviceImplementation)

Parameters:

serviceContext
serviceImplementation

getProvider

public static ServiceRemotingProvider getProvider(Class type)

Parameters:

type

Applies to