public TSIG getTsig() { return tsig; }
public void setTsig(TSIG tsig) { this.tsig = tsig; }
public void setTSIGKey(TSIG key) { this.key = key; }
/** * 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; }
/** * <p>getKey</p> * * @return a {@link org.xbill.DNS.TSIG} object. */ public TSIG getKey() { return m_key; }
/** * <p>setKey</p> * * @param key a {@link org.xbill.DNS.TSIG} object. */ public void setKey(TSIG key) { m_key = key; }
/** * 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); }