hi ,
i have a class by the name Node which is linked to class Interest ,Data,Timer.
Node _____*Interest______0..1 Data_______Timer
in timer class i start a thread ,after thread expires ,i want to set a flag in node class...how can i pass the reference for the specific node object to the timer class so that it sets the flag of specific node.
should i pass the reference in the constructors of Interest,Data classes ,what would be the referenc for that