How to call handlers of elements declared in a .click file from another element.

Momina Khan <[email protected]> Sun, 16 Jun 2013 23:05:08 +0500
Newsgroups gmane.network.routing.click
Message-ID <CAHs+bThASTQM9k0E6LMguv9OBHYFp4ACc9PuBCqMxD5oJcNKqQ@mail.gmail.com>
Hi,

I need to call live_reconfigure handlers of elements A and B (to
differentiate) declared in my configuration file from inside another
element C.

element C has to call live_reconfigure on elements A and C periodically
after every timescale x. However i cannot seem to find a way to give the
references of classes A and B to class C. Since all are independently
declared in the .click configuration file.

I tried element->router() and thought that if i got the router reference
pointer i could find other elements registered with the same router using
the router->find() method but element->router() returns a NULL.
If i am thinking in the wrong direction plz correct me.

thank you!
momina