Class CodeExecutorGrpc.CodeExecutorBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<CodeExecutorGrpc.CodeExecutorBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<CodeExecutorGrpc.CodeExecutorBlockingV2Stub>
ai.wanaku.core.exchange.v1.CodeExecutorGrpc.CodeExecutorBlockingV2Stub
- Enclosing class:
CodeExecutorGrpc
public static class CodeExecutorGrpc.CodeExecutorBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<CodeExecutorGrpc.CodeExecutorBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service CodeExecutor.
* The code execution service definition. Provides capabilities for executing code in various languages and engine types.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) io.grpc.stub.BlockingClientCall<?, CodeExecutionReply> executeCode(CodeExecutionRequest request) * Executes code and streams the results back to the client.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected CodeExecutorGrpc.CodeExecutorBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CodeExecutorGrpc.CodeExecutorBlockingV2Stub>
-
executeCode
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?, CodeExecutionReply> executeCode(CodeExecutionRequest request) * Executes code and streams the results back to the client. The stream will automatically close when execution completes.
-