Server.
ServerServiceDefinition
| Modifier and Type | Field and Description |
|---|---|
| private final ServerCallHandler | |
| private final MethodDescriptor |
| Access | Constructor and Description |
|---|---|
| private | ServerMethodDefinition(MethodDescriptor<ReqT, RespT> method, ServerCallHandler<ReqT, RespT> handler)
|
| Modifier and Type | Method and Description |
|---|---|
| public static <ReqT, RespT> ServerMethodDefinition | Returns: a new instance.the method, ServerCallHandler<ReqT, RespT> MethodDescriptor for this method.to dispatch calls to. handler)Create a new instance. |
| public MethodDescriptor | |
| public ServerCallHandler | |
| public ServerMethodDefinition | Returns: a cloned instance of this with the new handler bound.to bind to a cloned instance of this. handler)Create a new method definition with a different call handler. |
| handler | back to summary |
|---|---|
| private final ServerCallHandler<ReqT, RespT> handler | |
| method | back to summary |
|---|---|
| private final MethodDescriptor<ReqT, RespT> method | |
| ServerMethodDefinition | back to summary |
|---|---|
| private ServerMethodDefinition(MethodDescriptor<ReqT, RespT> method, ServerCallHandler<ReqT, RespT> handler) | |
| create | back to summary |
|---|---|
| public static <ReqT, RespT> ServerMethodDefinition Create a new instance.
| |
| getMethodDescriptor | back to summary |
|---|---|
| public MethodDescriptor The | |
| getServerCallHandler | back to summary |
|---|---|
| public ServerCallHandler Handler for incoming calls. | |
| withServerCallHandler | back to summary |
|---|---|
| public ServerMethodDefinition Create a new method definition with a different call handler.
| |