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

ServiceProxy Interface

public interface ServiceProxy

This is the base Client side interface for Remoting. The framework provides the Remoting infrastructure for all the service contracts inheriting from IService through ServiceRemotingListener and ServiceProxy.

Method Summary

Modifier and Type Method and Description
Class<?> getServiceInterfaceType()

The interface type that is being remoted.

ServiceRemotingPartitionClient getServicePartitionClient()

The service partition client used to send requests to the service.

Method Details

getServiceInterfaceType

public Class getServiceInterfaceType()

The interface type that is being remoted.

Returns:

Service interface type

getServicePartitionClient

public ServiceRemotingPartitionClient getServicePartitionClient()

The service partition client used to send requests to the service.

Returns:

ServicePartitionClient used by the ServiceProxy

Applies to