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 Details

    • CodeExecutorImplBase

      public CodeExecutorImplBase()
  • Method Details

    • withCompression

      public MutinyCodeExecutorGrpc.CodeExecutorImplBase withCompression(String compression)
      Set whether the server will try to use a compressed response.
      Parameters:
      compression - the compression, e.g gzip
    • executeCode

      public io.smallrye.mutiny.Multi<CodeExecutionReply> executeCode(CodeExecutionRequest request)
      *
       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:
      bindService in interface io.grpc.BindableService