[Click] Problem with Timers

Bart Braem bart.braem at ua.ac.be
Fri Feb 6 10:14:26 EST 2009


Hello,

You are initializing MyNullEntry elements in your code, without  
binding theme to a router.

On 05 Feb 2009, at 20:44, Angelo Colucci wrote:

> int MyNullEntry::initialize(ErrorHandler* errh){
>    click_chatter("initialize MyNullEntry\n");
>    _timer = new Timer(this);
>    if(!_timer){
>        click_chatter("Timer: new error\n");
>        return -1;
>    }
>    _timer->initialize(this);
>    return 0;
> }

My guess is that then this initialize code does not work, which  
explains your problems.

Regards,
Bart Braem
-- 
Bart Braem
PATS research group - IBBT
Dept. of Mathematics and Computer Sciences
University of Antwerp
Campus Middelheim, G3.30
Middelheimlaan 1
B-2020 Antwerpen, Belgium
Phone: +32 (0)3 265.32.91
Fax: +32 (0)3 265.37.77
Web: www.pats.ua.ac.be



More information about the click mailing list