Hi Sanjay, Yes, it is OK to put the refresh logic into MOServerLookupListener.lookupEvent. There are also other options of course.
Best regards, Frank On 05.01.2010 06:10, Sanjay Kumar wrote: > Hi, > > I've created an agent that would fetch the data from a database for every > snmpget request it receives. I just wanted to confirm if implementing > MOServerLookupListener and putting the back-end logic of connecting to > database and populating the oids is the best place. > > I've put the business logic into lookupEvent. > > Please share your views if i'm correct or there's a better place to put the > business logic of populating the oids (scalars/tables). > > best regards > Sanjay > > > > > _______________________________________________ > SNMP4J mailing list > [email protected] > http://lists.agentpp.org/mailman/listinfo/snmp4j > > > -- AGENT++ http://www.agentpp.com http://www.snmp4j.com http://www.mibexplorer.com http://www.mibdesigner.com _______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j
