unsubscribe
Thanks & B.Rgds, Jin Jianhua Live green: work responsibly~ -----邮件原件----- 发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 代表 Frank Fock 发送时间: 2008年8月20日 14:37 收件人: vikram shetty 抄送: SNMP4J 主题: Re: [SNMP4J] getSubtree for SNMPv3 Hi Vikarm, To specify the context name, you will have to create your own subclass of PDUFactory which returns a ScopedPDU. Best regards, Frank vikram shetty wrote: > Hi Frank, > > Thanks for replying the the mail. > > While creating the object TreeUtils tree = *new* TreeUtils(snmp, > scopedPdu); it is gives error like constructor is not define. > > Constructor is TreeUtils(Snmp snmp, ScopedPdu scopedPdu) in th > TreeUtils class is not defined. > > But i am able to creat object like TreeUtils tree = *new* > TreeUtils( snmp, new *new* DefaultPDUFactory()), it is not useful > because i did not able specify the ContexName. It failes while > authenticating the PDU. > > > Thanks > Vikarm shetty. > > > > On Wed, Aug 20, 2008 at 2:41 AM, Frank Fock <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hi, > > What is the problem when using a ScopedPDU? > (SNMPv3 is supported of course) > > Best regards, > Frank > > vikram shetty wrote: > > Hi , > > I want to know function > getSubtree from org.snmp4j.util.TreeUtils class is support > > for SNMPv3 version or not. If it is support for SNMP-V3 then how > to construct the TreeUtil Object because we can not pass the > ScopedPdu > object to TreeUtils constructors. > > > Thanks, > Vikram Shetty > _______________________________________________ > SNMP4J mailing list > [email protected] <mailto:[email protected]> > http://lists.agentpp.org/mailman/listinfo/snmp4j > > > -- > AGENT++ > http://www.agentpp.com <http://www.agentpp.com/> > http://www.mibexplorer.com <http://www.mibexplorer.com/> > http://www.mibdesigner.com <http://www.mibdesigner.com/> > > -- AGENT++ http://www.agentpp.com http://www.mibexplorer.com http://www.mibdesigner.com _______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j
_______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j
