[AGENT++] Finding out witch type of variable is received.
Jochen Katz
katz at agentpp.com
Fri Sep 15 22:06:33 CEST 2006
Hi,
> Is there a way in agent++ to find out witch type of variable is received in
> request's vb in prepare_set_request.
use req->get_value(ind).get_syntax(). See MibLeaf::prepare_set_request()
for some checks.
> And another thing, maybe of topic but what happens with object witch is
> allocated in function, like
>
> MibLeaf(someOid,READWRITE, new SnmpInt32(0)); how is SnmpInt32 released?
Each MibLeaf deletes the value, when the object is destroyed.
Regards,
Jochen
More information about the AGENTPP
mailing list