Package io.servicetalk.grpc.protoc
Class Main
java.lang.Object
io.servicetalk.grpc.protoc.Main
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
-
Method Details
-
main
Program entry point. It is expected aPluginProtos.CodeGeneratorRequestwill be read from stdin, and aPluginProtos.CodeGeneratorResponsewill be written to stdout.- Parameters:
args- the program arguments- Throws:
IOException- if an exception occurs while parsing input from stdin
-