Modifier and Type | Method | Description |
---|---|---|
static <ReqT,RespT> |
ServerMethodDefinition.create(MethodDescriptor<ReqT,RespT> method,
ServerCallHandler<ReqT,RespT> handler) |
Create a new instance.
|
ServerMethodDefinition<?,?> |
ServerServiceDefinition.getMethod(java.lang.String methodName) |
Look up a method by its fully qualified name.
|
ServerMethodDefinition<?,?> |
HandlerRegistry.lookupMethod(java.lang.String methodName) |
Lookup a
ServerMethodDefinition by its fully-qualified name. |
abstract ServerMethodDefinition<?,?> |
HandlerRegistry.lookupMethod(java.lang.String methodName,
java.lang.String authority) |
Lookup a
ServerMethodDefinition by its fully-qualified name. |
ServerMethodDefinition<ReqT,RespT> |
ServerMethodDefinition.withServerCallHandler(ServerCallHandler<ReqT,RespT> handler) |
Create a new method definition with a different call handler.
|
abstract <ReqT,RespT> |
BinaryLog.wrapMethodDefinition(ServerMethodDefinition<ReqT,RespT> oMethodDef) |
Modifier and Type | Method | Description |
---|---|---|
java.util.Collection<ServerMethodDefinition<?,?>> |
ServerServiceDefinition.getMethods() |
Gets all the methods of service.
|
Modifier and Type | Method | Description |
---|---|---|
<ReqT,RespT> |
ServerServiceDefinition.Builder.addMethod(ServerMethodDefinition<ReqT,RespT> def) |
Add a method to be supported by the service.
|
abstract <ReqT,RespT> |
BinaryLog.wrapMethodDefinition(ServerMethodDefinition<ReqT,RespT> oMethodDef) |