Monday, March 14, 2016

Day 65: A Factory of Pain

Curses! It seems that the UDP server eludes me once more, even moreso mysteriously than I previously expected. After actually using a test UDP client/server, I see that the test can receive messages from EEGer and that the test can send messages to Unity, but EEGer STILL cannot give messages to Unity. I may be at a loss here.

As for the good/ok/I guess we had it coming news, the next assignment has been posted! Quite a few mysteries juggling in my head. For the assignment, we'll be doing a factory pattern, which is a templated abstract factory. This allows the macro creation of a concrete factory, but I'm not sure how just yet. The implementation also calls for a list of concrete factories, along with many methods that seem to be static methods calling a static list. The list, since it calls for constant time lookup, seems to be a HashMap. However, why does it call begin and end? This, along with the static HashMap, exposes the implementation of HashMap. I must ask about it tomorrow. 

Such mystery! I will have to resolve it before our professor leaves.

No comments:

Post a Comment