[AGENT++] How to call unregister_proxy?

Jochen Katz katz at agentpp.com
Tue Aug 10 21:42:14 CEST 2010


Hi,

the contextEngineID and the pduType are the values used to create the
ProxyForwarder object that was added before. There is no interface to
get the registered ProxyForwarders out of the Mib object. Therefore you
have to keep track of the currently registered ProxyForwarders within
your application code.

Regards,
  Jochen

Am 10.08.2010 11:15, schrieb dominik.vogt at external.thalesgroup.com:
> There is no example of how to use Mib::unregister_proxy anywhere
> on the net.  The prototype from mib.h is
> 
> 	/**
> 	 * Unregister and delete a proxy forwarder.
> 	 *
> 	 * @param contextEngineID
> 	 *    the context engine ID of the proxy.
> 	 * @param pduType
> 	 *    the ProxyForwarder::pdu_type of the proxy.
> 	 */
> 	void		unregister_proxy(const NS_SNMP OctetStr&, 
> 					 ProxyForwarder::pdu_type);
> 
> How can I get the contextEngineID and the pduType to call
> unregister_proxy()?



More information about the AGENTPP mailing list