Class Main

java.lang.Object
io.servicetalk.grpc.protoc.Main

public final class Main extends Object
This class will be invoked by the protoc compiler to create Java ServiceTalk source classes. It implements the plugin.proto interface to produce ServiceTalk code corresponding to .proto service definitions.
  • Method Details

    • main

      public static void main(String... args) throws IOException
      Program entry point. It is expected a PluginProtos.CodeGeneratorRequest will be read from stdin, and a PluginProtos.CodeGeneratorResponse will be written to stdout.
      Parameters:
      args - the program arguments
      Throws:
      IOException - if an exception occurs while parsing input from stdin