About my conception

Hi everyone,

I have a little question about my conception.
http://lutix.org/data/Diagramme.png

To sum up: I launch a command from an Input object that send the information to a Linker object.
This Linker parses the data and either sends it to an Output object that print it to the screen, or sends it to a Core object that does something with it... but this object can also send an information to the Linker that will relay it to the Output.
You can notice I have created an interface object ICore_XMPP that fill the function members with methods from a Core_XMPP classes.

Obviously, I could separate the Linker class into 2 other classes that would interact with Output from at first Input and at second Core. But this would prevent me from learning this (I think) common issue.

My questions:
1) in all these relations I have described, I never really know if I have to create a member object from the first class into the second (for instance a Linker in an Input) or simply include the first as argument of functions of the second...?
2) How will you do to bind very closely 2 classes (a little bit like Linker and Core) that have to communicate a lot from each other in either way? WHat is the cleanest?

Thanks in advance!

Fab
Topic archived. No new replies allowed.