ServiceProxyBase Class
- java.
lang. Object - ProxyBase
- microsoft.
servicefabric. services. remoting. client. ServiceProxyBase
- microsoft.
public class ServiceProxyBase extends ProxyBase implements ServiceProxy
Provides the base implementation for the proxy to the remoted IService interfaces.
Method Summary
Inherited Members
Method Details
create
public static static
Parameters:
create
public static static
Creates a proxy to communicate to the specified service using the remoted interface TServiceInterface that the service implements.
Parameters:
Returns:
createRequestMessageBody
protected Object createRequestMessageBody(Object requestMessageBodyValue)
Parameters:
deserializeMessage
protected Object deserializeMessage(byte[] msgBodyValue)
Parameters:
getResponseMessageBodyValue
protected Object getResponseMessageBodyValue(Object responseMessageBody)
Parameters:
getServiceInterfaceType
public Class getServiceInterfaceType()
The interface type that is being remoted.
Overrides:
ServiceProxyBase.getServiceInterfaceType()Returns:
getServicePartitionClient
public ServiceRemotingPartitionClient getServicePartitionClient()
The service partition client used to send requests to the service.
Overrides:
ServiceProxyBase.getServicePartitionClient()Returns:
initialize
public void initialize(ServiceProxyGenerator serviceProxyGenerator, FabricServiceRemotingPartitionClient remotingPartitionClient)
Method to Initialize the service proxy instance. This is for internal use.
Parameters:
invoke
protected void invoke(int interfaceId, int methodId, byte[] requestMsgBodyBytes)
Parameters:
invokeAsync
protected CompletableFuture
Parameters:
serializeMessage
protected byte [] serializeMessage(Object msgBodyValue)
Parameters:
Applies to
Azure SDK for Java