Class MutinyCodeExecutorGrpc.CodeExecutorImplBase
java.lang.Object
ai.wanaku.core.exchange.v1.MutinyCodeExecutorGrpc.CodeExecutorImplBase
- All Implemented Interfaces:
io.grpc.BindableService
- Direct Known Subclasses:
CodeExecutorBean
- Enclosing class:
MutinyCodeExecutorGrpc
public abstract static class MutinyCodeExecutorGrpc.CodeExecutorImplBase
extends Object
implements io.grpc.BindableService
* The code execution service definition. Provides capabilities for executing code in various languages and engine types.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.grpc.ServerServiceDefinitionio.smallrye.mutiny.Multi<CodeExecutionReply> executeCode(CodeExecutionRequest request) * Executes code and streams the results back to the client.withCompression(String compression) Set whether the server will try to use a compressed response.
-
Constructor Details
-
CodeExecutorImplBase
public CodeExecutorImplBase()
-
-
Method Details
-
withCompression
Set whether the server will try to use a compressed response.- Parameters:
compression- the compression, e.ggzip
-
executeCode
* Executes code and streams the results back to the client. The stream will automatically close when execution completes.
-
bindService
public io.grpc.ServerServiceDefinition bindService()- Specified by:
bindServicein interfaceio.grpc.BindableService
-