In complex systems, objects may need to co-operate as peers since either object is not owned by each other.
The concept of a Twin interface is where a pair of objects need to comply with an interface where either lead or aide may initiate a cacellation of the association at any point.
LeadTwin and AideTwin provide a weak association methodology. These allow the association of two co-operating objects (a twin). The association is initiated by the LeadTwin interface on some application defined service. The application will ask the LeadTwin to associate with an aide twin interface. The association may be terminated by calling either a LeadCancel() or AideCancel() or association with a new aide.
This concept is not dissimilar to a weak pointer and may be used in this kind of scenaio. The Twin interface also provides a more robust tear down functionality.
Generated for Austria by and MakeXS at Sun Oct 24 17:35:34 PDT 2004