Lines Matching refs:bdec
93 BerDecoder bdec = null;
95 bdec = new BerDecoder(data);
96 bdec.openSequence();
97 version = bdec.fetchInteger();
103 bdec.closeSequence();
317 public SnmpVarBind[] decodeVarBindList(BerDecoder bdec)
319 bdec.openSequence() ;
321 while (bdec.cannotCloseSequence()) {
323 bdec.openSequence() ;
324 bind.oid = new SnmpOid(bdec.fetchOid()) ;
325 bind.setSnmpValue(decodeVarBindValue(bdec)) ;
326 bdec.closeSequence() ;
329 bdec.closeSequence() ;
339 SnmpValue decodeVarBindValue(BerDecoder bdec)
342 int tag = bdec.getTag() ;
353 result = new SnmpInt(bdec.fetchInteger()) ;
361 result = new SnmpString(bdec.fetchOctetString()) ;
369 result = new SnmpOid(bdec.fetchOid()) ;
376 bdec.fetchNull() ;
390 result = new SnmpIpAddress(bdec.fetchOctetString(tag)) ;
398 result = new SnmpCounter(bdec.fetchIntegerAsLong(tag)) ;
406 result = new SnmpGauge(bdec.fetchIntegerAsLong(tag)) ;
414 result = new SnmpTimeticks(bdec.fetchIntegerAsLong(tag)) ;
422 result = new SnmpOpaque(bdec.fetchOctetString(tag)) ;
437 result = new SnmpCounter64(bdec.fetchIntegerAsLong(tag)) ;
448 bdec.fetchNull(tag) ;
456 bdec.fetchNull(tag) ;
464 bdec.fetchNull(tag) ;