[AGENT++] How to check whether an MibTable::update is needed or not

Frank Fock fock at agentpp.com
Tue Aug 3 09:45:12 CEST 2004


Why do you think that the dynamic table example is incorrect?
How you decide whether to update or not, totally depends on your
update stragedy. What stragedy (cache with timeout, cache rows, etc.)
do you want to adapt?

Best regards,
Frank

qinyd at tom.com wrote:

>Hi Frank and all list members:
>Since the method MibTable::Update may be called once for each subrequest of the given request.
>How to check whether an MibTable::update is needed or not
>
>Some examples wrote below,but it seem wrong.
>
>  if (currentRequest == req->get_request_id()) return;
>  currentRequest = req->get_request_id();
>
>------------------------------------------------------------------------
>
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://agentpp.org/mailman/listinfo/agentpp
>  
>





More information about the AGENTPP mailing list