public static class WorkerGrpc.WorkerStub extends AbstractStub<WorkerGrpc.WorkerStub,WorkerGrpc.WorkerServiceDescriptor> implements WorkerGrpc.Worker
AbstractStub.StubConfigBuilderchannel, config| Modifier and Type | Method and Description |
|---|---|
protected WorkerGrpc.WorkerStub |
build(Channel channel,
WorkerGrpc.WorkerServiceDescriptor config)
Returns a new stub with the given channel for the provided method configurations.
|
StreamObserver<ServerArgs> |
runServer(StreamObserver<ServerStatus> responseObserver) |
StreamObserver<ClientArgs> |
runTest(StreamObserver<ClientStatus> responseObserver) |
configureNewStub, getChannel, getServiceDescriptorprotected WorkerGrpc.WorkerStub build(Channel channel, WorkerGrpc.WorkerServiceDescriptor config)
AbstractStubbuild in class AbstractStub<WorkerGrpc.WorkerStub,WorkerGrpc.WorkerServiceDescriptor>channel - the channel that this stub will use to do communicationsconfig - defines the RPC methods of the stubpublic StreamObserver<ClientArgs> runTest(StreamObserver<ClientStatus> responseObserver)
runTest in interface WorkerGrpc.Workerpublic StreamObserver<ServerArgs> runServer(StreamObserver<ServerStatus> responseObserver)
runServer in interface WorkerGrpc.Worker