Modifier and Type | Method and Description |
---|---|
static <ReqT,RespT> |
ServerMethodDefinition.create(MethodDescriptor<ReqT,RespT> method,
ServerCallHandler<ReqT,RespT> handler)
Create a new instance.
|
ServerMethodDefinition<?,?> |
ServerServiceDefinition.getMethod(String methodName)
Look up a method by its fully qualified name.
|
ServerMethodDefinition<?,?> |
HandlerRegistry.lookupMethod(String methodName)
Lookup a
ServerMethodDefinition by its fully-qualified name. |
abstract ServerMethodDefinition<?,?> |
HandlerRegistry.lookupMethod(String methodName,
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 and Description |
---|---|
Collection<ServerMethodDefinition<?,?>> |
ServerServiceDefinition.getMethods()
Gets all the methods of service.
|
Modifier and Type | Method and 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) |