org.xbill.DNS.ZoneTransferIn.fail()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(3.2k)|赞(0)|评价(0)|浏览(101)

本文整理了Java中org.xbill.DNS.ZoneTransferIn.fail()方法的一些代码示例,展示了ZoneTransferIn.fail()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZoneTransferIn.fail()方法的具体详情如下:
包路径:org.xbill.DNS.ZoneTransferIn
类名称:ZoneTransferIn
方法名:fail

ZoneTransferIn.fail介绍

暂无

代码示例

代码示例来源:origin: dnsjava/dnsjava

private void
fallback() throws ZoneTransferException {
  if (!want_fallback)
    fail("server doesn't support IXFR");

  logxfr("falling back to AXFR");
  qtype = Type.AXFR;
  state = INITIALSOA;
}

代码示例来源:origin: org.littleshoot/dnsjava

private void
fallback() throws ZoneTransferException {
  if (!want_fallback)
    fail("server doesn't support IXFR");

  logxfr("falling back to AXFR");
  qtype = Type.AXFR;
  state = INITIALSOA;
}

代码示例来源:origin: net.sf.dnsjava-osgi/dnsjava-osgi

private void
fallback() throws ZoneTransferException {
  if (!want_fallback)
    fail("server doesn't support IXFR");

  logxfr("falling back to AXFR");
  qtype = Type.AXFR;
  state = INITIALSOA;
}

代码示例来源:origin: tiandawu/IotXmpp

private void
fallback() throws ZoneTransferException {
  if (!want_fallback)
    fail("server doesn't support IXFR");

  logxfr("falling back to AXFR");
  qtype = Type.AXFR;
  state = INITIALSOA;
}

代码示例来源:origin: net.sf.dnsjava-osgi/dnsjava-osgi

case INITIALSOA:
  if (type != Type.SOA)
    fail("missing initial SOA");
  initialsoa = rec;
      break;
    } else if (soa_serial != current_serial) {
      fail("IXFR out of sync: expected serial " +
         current_serial + " , got " + soa_serial);
    } else {
  fail("extra data");
  break;
  fail("invalid state");
  break;

代码示例来源:origin: dnsjava/dnsjava

fail("TSIG failure");
    return;
  fail(Rcode.string(rcode));
  fail("invalid question section");
fail("last message must be signed");

代码示例来源:origin: net.sf.dnsjava-osgi/dnsjava-osgi

response.tsigState = Message.TSIG_INTERMEDIATE;
else
  fail("TSIG failure");
    return;
  fail(Rcode.string(rcode));
  fail("invalid question section");
fail("last message must be signed");

代码示例来源:origin: org.littleshoot/dnsjava

fail("TSIG failure");
    return;
  fail(Rcode.string(rcode));
  fail("invalid question section");
fail("last message must be signed");

代码示例来源:origin: tiandawu/IotXmpp

fail("TSIG failure");
    return;
  fail(Rcode.string(rcode));
  fail("invalid question section");
fail("last message must be signed");

代码示例来源:origin: org.littleshoot/dnsjava

case INITIALSOA:
  if (type != Type.SOA)
    fail("missing initial SOA");
  initialsoa = rec;
      break;
    } else if (soa_serial != current_serial) {
      fail("IXFR out of sync: expected serial " +
         current_serial + " , got " + soa_serial);
    } else {
  fail("extra data");
  break;
  fail("invalid state");
  break;

代码示例来源:origin: dnsjava/dnsjava

case INITIALSOA:
  if (type != Type.SOA)
    fail("missing initial SOA");
  initialsoa = rec;
      break;
    } else if (soa_serial != current_serial) {
      fail("IXFR out of sync: expected serial " +
         current_serial + " , got " + soa_serial);
    } else {
  fail("extra data");
  break;
  fail("invalid state");
  break;

代码示例来源:origin: tiandawu/IotXmpp

case INITIALSOA:
  if (type != Type.SOA)
    fail("missing initial SOA");
  initialsoa = rec;
      break;
    } else if (soa_serial != current_serial) {
      fail("IXFR out of sync: expected serial " +
         current_serial + " , got " + soa_serial);
    } else {
  fail("extra data");
  break;
  fail("invalid state");
  break;

相关文章