parallaxsecond/parsec-client-java

Separate protobuf from API

Opened this issue · 0 comments

The package parsec-interface-java currently contains the API for interacting with the wire protocol, and exposes references to protobuf classes.

Any direct references to protobuf classes should be separately packaged and hidden from external access.

Solution proposal

parsec-interface-java is built on the model of parsec-interface-rs and also named after it. This naming is somewhat confusing, since this is not an external interface, but the interface to the wire protocol.

We may introduce a parsec-api-java package to contain the actual API, and move all true external interface and parameter classes there. protobuf class interaction remains in parsec-interface-java.