public final class BiDnsQueryLifecycleObserverFactory extends java.lang.Object implements DnsQueryLifecycleObserverFactory
DnsQueryLifecycleObserverFactory
into a single DnsQueryLifecycleObserverFactory
.构造器和说明 |
---|
BiDnsQueryLifecycleObserverFactory(DnsQueryLifecycleObserverFactory a,
DnsQueryLifecycleObserverFactory b)
Create a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
DnsQueryLifecycleObserver |
newDnsQueryLifecycleObserver(DnsQuestion question)
Create a new instance of a
DnsQueryLifecycleObserver . |
public BiDnsQueryLifecycleObserverFactory(DnsQueryLifecycleObserverFactory a, DnsQueryLifecycleObserverFactory b)
a
- The DnsQueryLifecycleObserverFactory
that will receive events first.b
- The DnsQueryLifecycleObserverFactory
that will receive events second.public DnsQueryLifecycleObserver newDnsQueryLifecycleObserver(DnsQuestion question)
DnsQueryLifecycleObserverFactory
DnsQueryLifecycleObserver
. This will be called at the start of a new query.newDnsQueryLifecycleObserver
在接口中 DnsQueryLifecycleObserverFactory
question
- The question being asked.DnsQueryLifecycleObserver
.