本文整理了Java中org.snmp4j.smi.OID.lastUnsigned()
方法的一些代码示例,展示了OID.lastUnsigned()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。OID.lastUnsigned()
方法的具体详情如下:
包路径:org.snmp4j.smi.OID
类名称:OID
方法名:lastUnsigned
[英]Returns the last sub-identifier as an unsigned long value. If this OID is empty (i.e. has no sub-identifiers) then a NoSuchElementException is thrown
[中]以无符号长值形式返回最后一个子标识符。如果此OID为空(即没有子标识符),则会抛出NoTouchElementException
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.snmp4j
v.add(vbLower);
long last = Long.parseLong(st.nextToken());
long first = vbLower.getOid().lastUnsigned();
for (long k=first+1; k<=last; k++) {
OID nextOID = new OID(vbLower.getOid().getValue(), 0,
代码示例来源:origin: org.snmp4j/snmp4j
v.add(vbLower);
long last = Long.parseLong(st.nextToken());
long first = vbLower.getOid().lastUnsigned();
for (long k = first + 1; k <= last; k++) {
OID nextOID = new OID(vbLower.getOid().getValue(), 0,
代码示例来源:origin: org.snmp4j/snmp4j
OID lastOID = new OID(st.nextToken());
long last = lastOID.last();
long first = vbLower.getOid().lastUnsigned();
for (long k = first + 1; k <= last; k++) {
OID nextOID = new OID(vbLower.getOid().getValue(), 0,
代码示例来源:origin: org.kaazing/snmp4j
v.add(vbLower);
long last = Long.parseLong(st.nextToken());
long first = vbLower.getOid().lastUnsigned();
for (long k=first+1; k<=last; k++) {
OID nextOID = new OID(vbLower.getOid().getValue(), 0,
内容来源于网络,如有侵权,请联系作者删除!