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