다음을 통해 공유


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