MadhousePlatform / chatshare

0 stars 0 forks source link

Switch to adapter patterns #1

Closed SociableSteve closed 1 year ago

SociableSteve commented 1 year ago

The recent rollout has made it clear that different ways of processing messages are needed. The different MC servers had different ways of outputting log files leading to a messy set of code for parsing the text.

Switching to an adapter pattern will help tidy this up and make us more expandable in the future. The idea being we have a "Server" which has a "Log Importer" and a "Message Processor". The server then has the ability to mix-and-match different import and processor mechanisms.