[AGENT++] how to get hold of a MibTable from a mib?
Frank Fock
fock at agentpp.com
Mon Sep 26 23:29:30 CEST 2005
Hi Rachel,
mib-get(oid) will also work for a table. Just use the table entry's OID
(those that ends on .1)
Best regards,
Frank
Rachel Zhou wrote:
>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
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://lists.agentpp.org/mailman/listinfo/agentpp
>
>
>
>
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the AGENTPP
mailing list