Class Main


  • public final class Main
    extends java.lang.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 Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String... args)
      Program entry point.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main​(java.lang.String... args)
                         throws java.io.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:
        java.io.IOException - if an exception occurs while parsing input from stdin