Package ai.wanaku.core.exchange.v1
Class CodeExecutorGrpc.CodeExecutorStub
java.lang.Object
io.grpc.stub.AbstractStub<CodeExecutorGrpc.CodeExecutorStub>
io.grpc.stub.AbstractAsyncStub<CodeExecutorGrpc.CodeExecutorStub>
ai.wanaku.core.exchange.v1.CodeExecutorGrpc.CodeExecutorStub
- Enclosing class:
CodeExecutorGrpc
public static class CodeExecutorGrpc.CodeExecutorStub
extends io.grpc.stub.AbstractAsyncStub<CodeExecutorGrpc.CodeExecutorStub>
A stub to allow clients to do asynchronous 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 extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected CodeExecutorGrpc.CodeExecutorStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidexecuteCode(CodeExecutionRequest request, io.grpc.stub.StreamObserver<CodeExecutionReply> responseObserver) * Executes code and streams the results back to the client.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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.CodeExecutorStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CodeExecutorGrpc.CodeExecutorStub>
-
executeCode
public void executeCode(CodeExecutionRequest request, io.grpc.stub.StreamObserver<CodeExecutionReply> responseObserver) * Executes code and streams the results back to the client. The stream will automatically close when execution completes.
-