[AGENT++] changing community in notifications/traps

Frank Fock fock at agentpp.com
Thu Mar 4 20:14:56 CET 2004


Hi,

These methods are *EXAMPLES* and are not suited to be used
for real development. Thus, please do not override them. Just
look at what they are doing and use this information to implement
your own destination creation mechanism.

Best regards,
Frank

Jitendra Agrawal wrote:

>Hi,
>
>Both NotificationOriginator::add_v1_trap_destination and
>NotificationOriginator::add_v2_trap_destination are hard coding
>community to 'public'.
>
>What is the best way to change this? I think just deriving a class that
>changes the above mentioned methods should do. ( where community name
>can be taken as a parameter ).
>
>Thanks and Regards,
>Jitendra Agrawal
>
>http://www.telemune.com/
>
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://agentpp.org/mailman/listinfo/agentpp
>
>  
>






More information about the AGENTPP mailing list