As you can see I have an interface for Debug Events and two operations Attach and Detach. On top of this I have to implement a Windows and Linux version so the current design does not scale at all.
Imagine that I have to add:
- DebugEventThread <- DebugEventThreadAttach <- DebugEventThreadDetach
- DebugEventProcess <- DebugEventProcessAttach <- DebugEventProcessDetach
This design blows out of proportions...
I know Bridge pattern would be a solution to this problem but I don't know how to apply it in this case.
Aucun commentaire:
Enregistrer un commentaire