rolandweber / Pityoulish

A collection of programming/debugging exercises to support a course on Distributed Systems.
Creative Commons Zero v1.0 Universal
7 stars 0 forks source link

Refactor to avoid client code duplication #41

Closed rolandweber closed 7 years ago

rolandweber commented 8 years ago

Some of the code for the Sockets client and Java RMI client is identical, or nearly so:

Package name? pityoulish.cmdline.mbclient would match the scope. But #11 introduces a common server-side package which is not specific to command-line arguments. So maybe pityoulish.mbclient here and pityoulish.mbserver there?

rolandweber commented 7 years ago

Follow-the-Board clients (#51, #5) also require *BackendHandler and *Impl. They're now re-using the code from the client packages though.