How to depict this interface, component diagram?

I have 2 Classes:

Class Worker
offers callbacks:

  • Interface workerCallback1;
  • Interface workerCallback2;


Class Magager
uses callbacks fo Worker:

  • workerCallback1
  • workerCallback2


the software runtime works like this:
func main()
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?