Examples of SnmpTargetAddrEntryRow


Examples of org.snmp4j.agent.mo.snmp.SnmpTargetMIB.SnmpTargetAddrEntryRow

      return true;
    }
    Collection matches =
        targetMIB.getTargetAddrRowsForTag(coexistenceInfo.getTransportTag());
    for (Iterator it = matches.iterator(); it.hasNext(); ) {
      SnmpTargetAddrEntryRow row = (SnmpTargetAddrEntryRow) it.next();
      SnmpTargetAddrExtEntryRow extRow = (SnmpTargetAddrExtEntryRow)
          snmpTargetAddrExtEntryModel.getRow(row.getIndex());
      OctetString filterTAddress =
          (OctetString) row.getValue(SnmpTargetMIB.idxSnmpTargetAddrTAddress);
      if (extRow != null) {
        OctetString mask = extRow.getSnmpTargetAddrTMask();
        OctetString matchAddress = row.getTAddress(address);
        if ((mask.length() == 0) &&
            (matchAddress != null) && (matchAddress.equals(filterTAddress))) {
          coexistenceInfo.setMaxMessageSize(
              extRow.getSnmpTargetAddrMMS().getValue());
          return true;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.