[AGENT++] how to get hold of a MibTable from a mib?

Rachel Zhou rachel.ca at gmail.com
Mon Sep 26 20:49:46 CEST 2005


Hi,
 I was given a Mib definition where I have a MibTable belonging to a
MibGroup. The MibTable is added when the MibGroup is constructed. The
MibGroup is added to the mib during the initialization:
 mib->add(new xxxGroup());
 Now I want to add rows to the MibTable (in my code in agent.cpp). How do I
get the table pointer from the mib? I know for MibLeaf I can use
mib->get(objectID).
 Thanks for your help.
Rachel



More information about the AGENTPP mailing list