Package | Description |
---|---|
io.netty.bootstrap |
The helper classes with fluent API which enable an easy implementation of
typical client side and server side channel initialization.
|
io.netty.channel.udt.nio |
UDT Transport for NIO Channels.
|
io.netty.resolver.dns |
An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously,
which supports the queries of an arbitrary DNS record type as well.
|
Modifier and Type | Method and Description |
---|---|
B |
AbstractBootstrap.channelFactory(ChannelFactory<? extends C> channelFactory)
ChannelFactory which is used to create Channel instances from
when calling AbstractBootstrap.bind() . |
Modifier and Type | Field and Description |
---|---|
static ChannelFactory<UdtServerChannel> |
NioUdtProvider.BYTE_ACCEPTOR
Deprecated.
ChannelFactory for UDT Byte Acceptor. |
static ChannelFactory<UdtChannel> |
NioUdtProvider.BYTE_CONNECTOR
Deprecated.
ChannelFactory for UDT Byte Connector. |
static ChannelFactory<UdtChannel> |
NioUdtProvider.BYTE_RENDEZVOUS
Deprecated.
ChannelFactory for UDT Byte Rendezvous. |
static ChannelFactory<UdtServerChannel> |
NioUdtProvider.MESSAGE_ACCEPTOR
Deprecated.
ChannelFactory for UDT Message Acceptor. |
static ChannelFactory<UdtChannel> |
NioUdtProvider.MESSAGE_CONNECTOR
Deprecated.
ChannelFactory for UDT Message Connector. |
static ChannelFactory<UdtChannel> |
NioUdtProvider.MESSAGE_RENDEZVOUS
Deprecated.
ChannelFactory for UDT Message Rendezvous. |
Modifier and Type | Method and Description |
---|---|
DnsNameResolverBuilder |
DnsNameResolverBuilder.channelFactory(ChannelFactory<? extends DatagramChannel> channelFactory)
Sets the
ChannelFactory that will create a DatagramChannel . |
protected NameResolver<InetAddress> |
DnsAddressResolverGroup.newNameResolver(EventLoop eventLoop,
ChannelFactory<? extends DatagramChannel> channelFactory,
DnsServerAddressStreamProvider nameServerProvider)
Creates a new
NameResolver . |
protected AddressResolver<InetSocketAddress> |
DnsAddressResolverGroup.newResolver(EventLoop eventLoop,
ChannelFactory<? extends DatagramChannel> channelFactory,
DnsServerAddressStreamProvider nameServerProvider)
|
Constructor and Description |
---|
DnsAddressResolverGroup(ChannelFactory<? extends DatagramChannel> channelFactory,
DnsServerAddressStreamProvider nameServerProvider) |
DnsNameResolver(EventLoop eventLoop,
ChannelFactory<? extends DatagramChannel> channelFactory,
DnsCache resolveCache,
DnsCache authoritativeDnsServerCache,
DnsQueryLifecycleObserverFactory dnsQueryLifecycleObserverFactory,
long queryTimeoutMillis,
ResolvedAddressTypes resolvedAddressTypes,
boolean recursionDesired,
int maxQueriesPerResolve,
boolean traceEnabled,
int maxPayloadSize,
boolean optResourceEnabled,
HostsFileEntriesResolver hostsFileEntriesResolver,
DnsServerAddressStreamProvider dnsServerAddressStreamProvider,
String[] searchDomains,
int ndots,
boolean decodeIdn)
Creates a new DNS-based name resolver that communicates with the specified list of DNS servers.
|
RoundRobinDnsAddressResolverGroup(ChannelFactory<? extends DatagramChannel> channelFactory,
DnsServerAddressStreamProvider nameServerProvider) |
Copyright © 2008–2017 The Netty Project. All rights reserved.