Modifier and Type | Method and Description |
---|---|
<ReqT,RespT> |
ServerServiceDefinition.Builder.addMethod(MethodDescriptor<ReqT,RespT> method,
ServerCallHandler<ReqT,RespT> handler)
Add a method to be supported by the service.
|
<ReqT,RespT> |
ServerServiceDefinition.Builder.addMethod(ServerMethodDefinition<ReqT,RespT> def)
Add a method to be supported by the service.
|
static ServerServiceDefinition.Builder |
ServerServiceDefinition.builder(ServiceDescriptor serviceDescriptor) |
static ServerServiceDefinition.Builder |
ServerServiceDefinition.builder(String serviceName)
Convenience that constructs a
ServiceDescriptor simultaneously. |