<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hello,<br><br>I'm trying to add an event to the EventLoop : <br><br>_timeOutVal(TimeVal(10,0)) is initialized in constructor.<br><br>I would like that after 10 seconds, Xorp run test_cb method, but it doesn't seems to work.<br><br>XorpTimer t = _eventloop.new_oneoff_after(_timeOutVal,callback(this,&ConsensusMain::test_cb));<br><br>void ConsensusMain::test_cb() {<br> XLOG_INFO("RUN TEST CALLBACK!!!!!\n");<br>}<br><br>What did I do wrong??<br><br>Thanks!<br><br>Best regards, <br>Michael<br><br /><hr />Découvrez la nouvelle génération des servives de Windows Live <a href='http://download.live.com' target='_new'>Cliquez ici!</a></body>
</html>