public abstract class InetNameResolver extends SimpleNameResolver<InetAddress>
NameResolver
implementation that resolves InetAddress
.Modifier | Constructor and Description |
---|---|
protected |
InetNameResolver(EventExecutor executor) |
Modifier and Type | Method and Description |
---|---|
AddressResolver<InetSocketAddress> |
asAddressResolver()
Return a
AddressResolver that will use this name resolver underneath. |
close, doResolve, doResolveAll, executor, resolve, resolve, resolveAll, resolveAll
protected InetNameResolver(EventExecutor executor)
executor
- the EventExecutor
which is used to notify the listeners of the Future
returned
by SimpleNameResolver.resolve(String)
public AddressResolver<InetSocketAddress> asAddressResolver()
AddressResolver
that will use this name resolver underneath.
It's cached internally, so the same instance is always returned.Copyright © 2008–2024 The Netty Project. All rights reserved.