本文整理汇总了Java中org.xbill.DNS.TSIG类的典型用法代码示例。如果您正苦于以下问题:Java TSIG类的具体用法?Java TSIG怎么用?Java TSIG使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
TSIG类属于org.xbill.DNS包,在下文中一共展示了TSIG类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getTsig
import org.xbill.DNS.TSIG; //导入依赖的package包/类
public TSIG getTsig() {
return tsig;
}
示例2: setTsig
import org.xbill.DNS.TSIG; //导入依赖的package包/类
public void setTsig(TSIG tsig) {
this.tsig = tsig;
}
示例3: setTSIGKey
import org.xbill.DNS.TSIG; //导入依赖的package包/类
public void setTSIGKey(TSIG key) {
this.key = key;
}
示例4: Transaction
import org.xbill.DNS.TSIG; //导入依赖的package包/类
/**
* Transaction constructor
*
* @param remoteAddr The resolver to query
* @param localAddr
* @param tsig The TSIG for the query
* @param tcp use TCP if true, UDP otherwise
* @param ignoreTruncation true if truncated responses are ok
*/
public Transaction(InetSocketAddress remoteAddr, InetSocketAddress localAddr, TSIG tsig, boolean tcp, boolean ignoreTruncation) {
this.tcp = tcp;
this.ignoreTruncation = ignoreTruncation;
this.tsig = tsig;
this.remoteAddr = remoteAddr;
this.localAddr = localAddr;
}
示例5: getKey
import org.xbill.DNS.TSIG; //导入依赖的package包/类
/**
* <p>getKey</p>
*
* @return a {@link org.xbill.DNS.TSIG} object.
*/
public TSIG getKey() {
return m_key;
}
示例6: setKey
import org.xbill.DNS.TSIG; //导入依赖的package包/类
/**
* <p>setKey</p>
*
* @param key a {@link org.xbill.DNS.TSIG} object.
*/
public void setKey(TSIG key) {
m_key = key;
}
示例7: setTSIGKey
import org.xbill.DNS.TSIG; //导入依赖的package包/类
/**
* Forwards the data to the head resolver passed at construction time.
*
* @param key The key.
* @see org.xbill.DNS.Resolver#setTSIGKey(org.xbill.DNS.TSIG)
*/
public void setTSIGKey(TSIG key) {
this.headResolver.setTSIGKey(key);
}