[AGENT++] Reinitializing already existing tables?

Jochen Katz katz at agentpp.com
Wed Apr 5 22:09:09 CEST 2006


Hi,

> I was wondering if there is any example available where tables get
> reinitialized after the initial creation. Basically, table info that
> SNMP agent is providing could change at any point of time and I need
> to be able to reinitialize those tables (remove all rows and then
> create the new ones) when that change happens.

maybe I don't get the real cause of the question, but you can call
MibTable::clear() or reset() to remove all rows, and then add the new
ones...

Regards,
  Jochen




More information about the AGENTPP mailing list