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

Java RMI: refactor or rearrange class MsgOutletHandlerImpl #65

Closed rolandweber closed 6 years ago

rolandweber commented 6 years ago

In the Direct Message Outlet part of the Java RMI exercise, all relevant pieces of missing code are in class MsgOutletHandlerImpl. If students don't look at the line numbers in the stack trace, but just search for Missing.here in the source file, they will encounter them in the wrong order. Either rearrange the code so that the missing pieces appear in the order of the test sequence, or refactor to put the missing pieces into different files.

Follow-up from #60.

rolandweber commented 6 years ago

I'm moving the export/unexport calls to a helper class.

rolandweber commented 6 years ago

58 is more urgent

rolandweber commented 6 years ago

There are still two Missing.here in the newly introduced factory class. But these are in the expected order of fixing. That's good enough.