Design question.... parent/child class

Gumuz gumuz at
Tue Sep 3 08:56:21 EDT 2002

hi all,

i have a SessionManager class, which contains a list of Session
objects(instantiated from a Session class). I have a design problem.

Each session object has a small 'queue' of messages for the specific
session. How can a session send a message to another session without having
some kind of parent-reference to the SessionManager object?

i am a bit puzzled, or is this parent-reference not such a bad idea after



More information about the Python-list mailing list