Package io.grpc.benchmarks.proto
Class WorkerServiceGrpc
- java.lang.Object
-
- io.grpc.benchmarks.proto.WorkerServiceGrpc
-
public final class WorkerServiceGrpc extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWorkerServiceGrpc.AsyncServicestatic classWorkerServiceGrpc.WorkerServiceBlockingStubA stub to allow clients to do synchronous rpc calls to service WorkerService.static classWorkerServiceGrpc.WorkerServiceFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service WorkerService.static classWorkerServiceGrpc.WorkerServiceImplBaseBase class for the server implementation of the service WorkerService.static classWorkerServiceGrpc.WorkerServiceStubA stub to allow clients to do asynchronous rpc calls to service WorkerService.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinitionbindService(WorkerServiceGrpc.AsyncService service)static io.grpc.MethodDescriptor<Control.CoreRequest,Control.CoreResponse>getCoreCountMethod()static io.grpc.MethodDescriptor<Control.Void,Control.Void>getQuitWorkerMethod()static io.grpc.MethodDescriptor<Control.ClientArgs,Control.ClientStatus>getRunClientMethod()static io.grpc.MethodDescriptor<Control.ServerArgs,Control.ServerStatus>getRunServerMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static WorkerServiceGrpc.WorkerServiceBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic WorkerServiceGrpc.WorkerServiceFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic WorkerServiceGrpc.WorkerServiceStubnewStub(io.grpc.Channel channel)Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRunServerMethod
public static io.grpc.MethodDescriptor<Control.ServerArgs,Control.ServerStatus> getRunServerMethod()
-
getRunClientMethod
public static io.grpc.MethodDescriptor<Control.ClientArgs,Control.ClientStatus> getRunClientMethod()
-
getCoreCountMethod
public static io.grpc.MethodDescriptor<Control.CoreRequest,Control.CoreResponse> getCoreCountMethod()
-
getQuitWorkerMethod
public static io.grpc.MethodDescriptor<Control.Void,Control.Void> getQuitWorkerMethod()
-
newStub
public static WorkerServiceGrpc.WorkerServiceStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static WorkerServiceGrpc.WorkerServiceBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static WorkerServiceGrpc.WorkerServiceFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(WorkerServiceGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-