Package | Description |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.channel.socket |
Abstract TCP and UDP socket interfaces which extend the core channel API.
|
io.netty.channel.unix |
Unix specific transport.
|
io.netty.handler.codec |
Extensible decoder and its common implementations which deal with the
packet fragmentation and reassembly issue found in a stream-based transport
such as TCP/IP.
|
io.netty.handler.codec.dns |
DNS codec.
|
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 | Class and Description |
---|---|
class |
DefaultAddressedEnvelope<M,A extends SocketAddress>
The default
AddressedEnvelope implementation. |
Modifier and Type | Method and Description |
---|---|
AddressedEnvelope<M,A> |
DefaultAddressedEnvelope.retain() |
AddressedEnvelope<M,A> |
AddressedEnvelope.retain() |
AddressedEnvelope<M,A> |
DefaultAddressedEnvelope.retain(int increment) |
AddressedEnvelope<M,A> |
AddressedEnvelope.retain(int increment) |
AddressedEnvelope<M,A> |
DefaultAddressedEnvelope.touch() |
AddressedEnvelope<M,A> |
AddressedEnvelope.touch() |
AddressedEnvelope<M,A> |
DefaultAddressedEnvelope.touch(Object hint) |
AddressedEnvelope<M,A> |
AddressedEnvelope.touch(Object hint) |
Modifier and Type | Class and Description |
---|---|
class |
DatagramPacket
The message container that is used for
DatagramChannel to communicate with the remote peer. |
Modifier and Type | Class and Description |
---|---|
class |
DomainDatagramPacket
The message container that is used for
DomainDatagramChannel to communicate with the remote peer. |
class |
SegmentedDatagramPacket
Allows to use GSO
if the underlying OS supports it.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DatagramPacketEncoder.encode(ChannelHandlerContext ctx,
AddressedEnvelope<M,InetSocketAddress> msg,
List<Object> out) |
Modifier and Type | Class and Description |
---|---|
class |
DatagramDnsQuery
A
DnsQuery implementation for UDP/IP. |
class |
DatagramDnsResponse
A
DnsResponse implementation for UDP/IP. |
Modifier and Type | Method and Description |
---|---|
protected ByteBuf |
DatagramDnsQueryEncoder.allocateBuffer(ChannelHandlerContext ctx,
AddressedEnvelope<DnsQuery,InetSocketAddress> msg)
Allocate a
ByteBuf which will be used for constructing a datagram packet. |
protected ByteBuf |
DatagramDnsResponseEncoder.allocateBuffer(ChannelHandlerContext ctx,
AddressedEnvelope<DnsResponse,InetSocketAddress> msg)
Allocate a
ByteBuf which will be used for constructing a datagram packet. |
protected void |
DatagramDnsQueryEncoder.encode(ChannelHandlerContext ctx,
AddressedEnvelope<DnsQuery,InetSocketAddress> in,
List<Object> out) |
protected void |
DatagramDnsResponseEncoder.encode(ChannelHandlerContext ctx,
AddressedEnvelope<DnsResponse,InetSocketAddress> in,
List<Object> out) |
Modifier and Type | Method and Description |
---|---|
Future<AddressedEnvelope<DnsResponse,InetSocketAddress>> |
DnsNameResolver.query(DnsQuestion question)
Sends a DNS query with the specified question.
|
Future<AddressedEnvelope<DnsResponse,InetSocketAddress>> |
DnsNameResolver.query(DnsQuestion question,
Iterable<DnsRecord> additionals)
Sends a DNS query with the specified question with additional records.
|
Future<AddressedEnvelope<DnsResponse,InetSocketAddress>> |
DnsNameResolver.query(DnsQuestion question,
Promise<AddressedEnvelope<? extends DnsResponse,InetSocketAddress>> promise)
Sends a DNS query with the specified question.
|
Future<AddressedEnvelope<DnsResponse,InetSocketAddress>> |
DnsNameResolver.query(InetSocketAddress nameServerAddr,
DnsQuestion question)
Sends a DNS query with the specified question using the specified name server list.
|
Future<AddressedEnvelope<DnsResponse,InetSocketAddress>> |
DnsNameResolver.query(InetSocketAddress nameServerAddr,
DnsQuestion question,
Iterable<DnsRecord> additionals)
Sends a DNS query with the specified question with additional records using the specified name server list.
|
Future<AddressedEnvelope<DnsResponse,InetSocketAddress>> |
DnsNameResolver.query(InetSocketAddress nameServerAddr,
DnsQuestion question,
Iterable<DnsRecord> additionals,
Promise<AddressedEnvelope<? extends DnsResponse,InetSocketAddress>> promise)
Sends a DNS query with the specified question with additional records using the specified name server list.
|
Future<AddressedEnvelope<DnsResponse,InetSocketAddress>> |
DnsNameResolver.query(InetSocketAddress nameServerAddr,
DnsQuestion question,
Promise<AddressedEnvelope<? extends DnsResponse,InetSocketAddress>> promise)
Sends a DNS query with the specified question using the specified name server list.
|
Modifier and Type | Method and Description |
---|---|
Future<AddressedEnvelope<DnsResponse,InetSocketAddress>> |
DnsNameResolver.query(DnsQuestion question,
Promise<AddressedEnvelope<? extends DnsResponse,InetSocketAddress>> promise)
Sends a DNS query with the specified question.
|
Future<AddressedEnvelope<DnsResponse,InetSocketAddress>> |
DnsNameResolver.query(InetSocketAddress nameServerAddr,
DnsQuestion question,
Iterable<DnsRecord> additionals,
Promise<AddressedEnvelope<? extends DnsResponse,InetSocketAddress>> promise)
Sends a DNS query with the specified question with additional records using the specified name server list.
|
Future<AddressedEnvelope<DnsResponse,InetSocketAddress>> |
DnsNameResolver.query(InetSocketAddress nameServerAddr,
DnsQuestion question,
Promise<AddressedEnvelope<? extends DnsResponse,InetSocketAddress>> promise)
Sends a DNS query with the specified question using the specified name server list.
|
Copyright © 2008–2024 The Netty Project. All rights reserved.