Package io.servicetalk.grpc.protoc
Class Main
- java.lang.Object
-
- io.servicetalk.grpc.protoc.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.
-
-
-
Method Detail
-
main
public static void main(java.lang.String... args) throws java.io.IOException
Program entry point. It is expected aPluginProtos.CodeGeneratorRequest
will be read from stdin, and aPluginProtos.CodeGeneratorResponse
will be written to stdout.- Parameters:
args
- the program arguments- Throws:
java.io.IOException
- if an exception occurs while parsing input from stdin
-
-