[AGENT++] how set a value for a field from main file which is defined in mib

Rajesh Bansal bansal.rajeshkr at gmail.com
Wed Jul 25 15:09:06 CEST 2007


Dear All,
I want to set value (at run time ) for AgentppTestTimeout in atm_mib agentpp
example in agent.cpp file but i am not getting that how this is possible.
AgentppTestTimeout is defined in AgentppTest_mib. Can anyone tell me that
how i can do this operation.

in Main file mib class is added like
 mib.add(new agentpp_test_mib());
and
agentppTestTimeout* agentppTestTimeout::instance = 0;
int agentppTestTimeout::set(const Vbx& vb)
{
  return MibLeaf::set(vb);
}

i am not fetting how to call this set function from main file.
-- 
Best Regards,
Rajesh Bansal



More information about the AGENTPP mailing list