public class GenericService extends Object
GenericServiceClass Work as a generic service to handle rpc calls that send non-empty responses and empty
responses.| Modifier and Type | Class and Description |
|---|---|
static class |
GenericService.AnyServiceImplBase
Generic ImplBase class of the GenericServiceClass
|
| Constructor and Description |
|---|
GenericService() |
| Modifier and Type | Method and Description |
|---|---|
static io.grpc.MethodDescriptor<com.google.protobuf.Any,com.google.protobuf.Empty> |
getClientStreamMethod() |
static io.grpc.MethodDescriptor<com.google.protobuf.Any,com.google.protobuf.Empty> |
getEmptyResponseHandle() |
static io.grpc.MethodDescriptor<com.google.protobuf.Any,com.google.protobuf.Any> |
getHandleNonEmptyResponse() |
static io.grpc.ServiceDescriptor |
getServiceDescriptor() |
static void |
setClientStreamMethodName(String clientStreamMethodName) |
static void |
setEmptyResponseMethodName(String emptyResponseMethodName) |
static void |
setNonEmptyResponseMethodName(String nonEmptyResponseMethodName) |
static void |
setServiceName(String serviceName) |
public static void setServiceName(String serviceName)
public static void setNonEmptyResponseMethodName(String nonEmptyResponseMethodName)
public static void setEmptyResponseMethodName(String emptyResponseMethodName)
public static void setClientStreamMethodName(String clientStreamMethodName)
public static io.grpc.ServiceDescriptor getServiceDescriptor()
public static io.grpc.MethodDescriptor<com.google.protobuf.Any,com.google.protobuf.Empty> getEmptyResponseHandle()
public static io.grpc.MethodDescriptor<com.google.protobuf.Any,com.google.protobuf.Any> getHandleNonEmptyResponse()
public static io.grpc.MethodDescriptor<com.google.protobuf.Any,com.google.protobuf.Empty> getClientStreamMethod()
Copyright © 2019 WSO2. All rights reserved.