Modifier and Type | Method | 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(java.lang.String serviceName) |
Convenience that constructs a
ServiceDescriptor simultaneously. |