not able to register multiple OIDs

Rohit Tiwary <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi All,

  I am working on SNMP Agent part and i have to register multiple oid`s in my 
agent.But i am not able to register.Below is the code snippet i am writing.I am 
using SNMP4JAgent api

  OID oid = new OID(omOid);
            unregisterManagedObject(getSnmpv2MIB());
            registerManagedObject(MOScalarFactory.createReadOnly(oid, omData));



thanks

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.