[AGENT++] Unneeded code in Snmp class

Dave White | Networking dave.white at efi.com
Mon Sep 15 19:15:15 CEST 2008


Hi Jochen,

Yes, we use this constructor in our implementation.  I added an Snmpx constructor that looks like this.  It is used by our listener.

Snmpx(int &status, const UdpAddress& addr_v4, const UdpAddress& addr_v6):
                Snmp(status, addr_v4, addr_v6) { }

Regards,
Dave


-----Original Message-----
From: agentpp-bounces at agentpp.org [mailto:agentpp-bounces at agentpp.org] On Behalf Of Jochen Katz
Sent: Sunday, September 14, 2008 1:03 PM
To: agent++
Subject: [AGENT++] Unneeded code in Snmp class

Hi,

does anyone use this constructor of Snmp class:

Snmp(int &status,  const UdpAddress& addr_v4,
     const UdpAddress& addr_v6);

For me, this constructor has no use case in real applications, but just
makes the Snmp class complex.

So if you use this constructor, say it now...

Regards,
  Jochen
_______________________________________________
AGENTPP mailing list
AGENTPP at agentpp.org
http://lists.agentpp.org/mailman/listinfo/agentpp



More information about the AGENTPP mailing list