I have 2 Classes:
- Interface workerCallback1;
- Interface workerCallback2;
uses callbacks fo Worker:
the software runtime works like this:
new Worker instanceWorker;
new Manager instanceManager;
instanceManager.workCallback1 = instanceWorker.workerCallback2;
instanceManager.workCallback2 = instanceWorker.workerCallback2;
// if something happens, manager needs worker to do something, call callbacks:
so above, in my mind, instancWorker provides callback interface to instanceManager - I hope to depicted this kind of relationship in component diagram.
could someone show me an example of Visual Paradigm drawing?