At this point, more than actual implementation we care about having the interface ready. It's fine to define those streams as abstract base classes.
We want asynchronous streams that can read and write all the PrimitiveTypes and IntegralTypes. Those streams will need to be implemented by hand (unfortunately) and they will need to depend on the types you generated in PR #76. Because of that I think we need to start building code you generated with BUCK. Before we get to this and later PRs we need to:
Create a python_binary rule that prints code (new types to begin with) to stdout
Add a genrule that runs the binary and produces a generated python file
Add a python module (jdwp/runtime ?) that will contain the generated code and will be built by buck like any other python code we have
Add the streams you're working on in this PR to that runtime module
At this point, more than actual implementation we care about having the interface ready. It's fine to define those streams as abstract base classes.
We want asynchronous streams that can read and write all the
PrimitiveType
s andIntegralType
s. Those streams will need to be implemented by hand (unfortunately) and they will need to depend on the types you generated in PR #76. Because of that I think we need to start building code you generated with BUCK. Before we get to this and later PRs we need to:jdwp/runtime
?) that will contain the generated code and will be built by buck like any other python code we have