public final class BiDnsQueryLifecycleObserverFactory extends Object implements DnsQueryLifecycleObserverFactory
DnsQueryLifecycleObserverFactory
into a single DnsQueryLifecycleObserverFactory
.Constructor and Description |
---|
BiDnsQueryLifecycleObserverFactory(DnsQueryLifecycleObserverFactory a,
DnsQueryLifecycleObserverFactory b)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
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
in interface DnsQueryLifecycleObserverFactory
question
- The question being asked.DnsQueryLifecycleObserver
.Copyright © 2008–2024 The Netty Project. All rights reserved.