@UnstableApi public final class BiDnsQueryLifecycleObserverFactory extends java.lang.Object implements DnsQueryLifecycleObserverFactory
Constructor and Description |
---|
BiDnsQueryLifecycleObserverFactory(DnsQueryLifecycleObserverFactory a, DnsQueryLifecycleObserverFactory b)
创建一个新的实例。
|
Modifier and Type | Method and Description |
---|---|
DnsQueryLifecycleObserver |
newDnsQueryLifecycleObserver(DnsQuestion question)
创建一个 DnsQueryLifecycleObserver 的新实例。
|
public BiDnsQueryLifecycleObserverFactory(DnsQueryLifecycleObserverFactory a, DnsQueryLifecycleObserverFactory b)
a
- 将首先接收事件的DnsQueryLifecycleObserverFactory
。
b
- 将接收事件的DnsQueryLifecycleObserverFactory
秒。
public DnsQueryLifecycleObserver newDnsQueryLifecycleObserver(DnsQuestion question)
DnsQueryLifecycleObserverFactory
DnsQueryLifecycleObserver
的新实例。
这将在新查询开始时调用。
newDnsQueryLifecycleObserver
接口
DnsQueryLifecycleObserverFactory
question
- 被问到的问题。
DnsQueryLifecycleObserver
的新实例。
Copyright © 2008–2018 The Netty Project. All rights reserved.