Uses of Interface
io.netty.channel.AddressedEnvelope
-
Packages that use AddressedEnvelope 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.epoll Optimized transport for linux which uses EPOLL Edge-Triggered Mode for maximal performance.io.netty.channel.kqueue BSD specific transport.io.netty.channel.socket Abstract TCP and UDP socket interfaces which extend the core channel API.io.netty.channel.socket.nio NIO-based socket channel API implementation - recommended for a large number of connections (>= 1000).io.netty.channel.socket.oio Old blocking I/O based socket channel API implementation - recommended for a small number of connections (< 1000).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. -
-
Uses of AddressedEnvelope in io.netty.channel
Classes in io.netty.channel that implement AddressedEnvelope Modifier and Type Class Description class
DefaultAddressedEnvelope<M,A extends java.net.SocketAddress>
The defaultAddressedEnvelope
implementation.Methods in io.netty.channel that return AddressedEnvelope Modifier and Type Method Description AddressedEnvelope<M,A>
AddressedEnvelope. retain()
AddressedEnvelope<M,A>
AddressedEnvelope. retain(int increment)
AddressedEnvelope<M,A>
DefaultAddressedEnvelope. retain()
AddressedEnvelope<M,A>
DefaultAddressedEnvelope. retain(int increment)
AddressedEnvelope<M,A>
AddressedEnvelope. touch()
AddressedEnvelope<M,A>
AddressedEnvelope. touch(java.lang.Object hint)
AddressedEnvelope<M,A>
DefaultAddressedEnvelope. touch()
AddressedEnvelope<M,A>
DefaultAddressedEnvelope. touch(java.lang.Object hint)
-
Uses of AddressedEnvelope in io.netty.channel.epoll
Classes in io.netty.channel.epoll that implement AddressedEnvelope Modifier and Type Class Description class
SegmentedDatagramPacket
Deprecated.Methods in io.netty.channel.epoll with parameters of type AddressedEnvelope Modifier and Type Method Description private static void
EpollDatagramChannel. checkUnresolved(AddressedEnvelope<?,?> envelope)
-
Uses of AddressedEnvelope in io.netty.channel.kqueue
Methods in io.netty.channel.kqueue with parameters of type AddressedEnvelope Modifier and Type Method Description private static void
KQueueDatagramChannel. checkUnresolved(AddressedEnvelope<?,?> envelope)
-
Uses of AddressedEnvelope in io.netty.channel.socket
Classes in io.netty.channel.socket that implement AddressedEnvelope Modifier and Type Class Description class
DatagramPacket
The message container that is used forDatagramChannel
to communicate with the remote peer. -
Uses of AddressedEnvelope in io.netty.channel.socket.nio
Methods in io.netty.channel.socket.nio with parameters of type AddressedEnvelope Modifier and Type Method Description private static void
NioDatagramChannel. checkUnresolved(AddressedEnvelope<?,?> envelope)
-
Uses of AddressedEnvelope in io.netty.channel.socket.oio
Methods in io.netty.channel.socket.oio with parameters of type AddressedEnvelope Modifier and Type Method Description private static void
OioDatagramChannel. checkUnresolved(AddressedEnvelope<?,?> envelope)
Deprecated. -
Uses of AddressedEnvelope in io.netty.channel.unix
Classes in io.netty.channel.unix that implement AddressedEnvelope Modifier and Type Class Description class
DomainDatagramPacket
The message container that is used forDomainDatagramChannel
to communicate with the remote peer.class
SegmentedDatagramPacket
Allows to use GSO if the underlying OS supports it. -
Uses of AddressedEnvelope in io.netty.handler.codec
Methods in io.netty.handler.codec with parameters of type AddressedEnvelope Modifier and Type Method Description protected void
DatagramPacketEncoder. encode(ChannelHandlerContext ctx, AddressedEnvelope<M,java.net.InetSocketAddress> msg, java.util.List<java.lang.Object> out)
-
Uses of AddressedEnvelope in io.netty.handler.codec.dns
Classes in io.netty.handler.codec.dns that implement AddressedEnvelope Modifier and Type Class Description class
DatagramDnsQuery
ADnsQuery
implementation for UDP/IP.class
DatagramDnsResponse
ADnsResponse
implementation for UDP/IP.Methods in io.netty.handler.codec.dns with parameters of type AddressedEnvelope Modifier and Type Method Description protected ByteBuf
DatagramDnsQueryEncoder. allocateBuffer(ChannelHandlerContext ctx, AddressedEnvelope<DnsQuery,java.net.InetSocketAddress> msg)
Allocate aByteBuf
which will be used for constructing a datagram packet.protected ByteBuf
DatagramDnsResponseEncoder. allocateBuffer(ChannelHandlerContext ctx, AddressedEnvelope<DnsResponse,java.net.InetSocketAddress> msg)
Allocate aByteBuf
which will be used for constructing a datagram packet.protected void
DatagramDnsQueryEncoder. encode(ChannelHandlerContext ctx, AddressedEnvelope<DnsQuery,java.net.InetSocketAddress> in, java.util.List<java.lang.Object> out)
protected void
DatagramDnsResponseEncoder. encode(ChannelHandlerContext ctx, AddressedEnvelope<DnsResponse,java.net.InetSocketAddress> in, java.util.List<java.lang.Object> out)
-
Uses of AddressedEnvelope in io.netty.resolver.dns
Classes in io.netty.resolver.dns that implement AddressedEnvelope Modifier and Type Class Description private static class
DnsQueryContext.AddressedEnvelopeAdapter
Fields in io.netty.resolver.dns with type parameters of type AddressedEnvelope Modifier and Type Field Description private Promise<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>
DnsQueryContext. promise
private java.util.Set<Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>>
DnsResolveContext. queriesInProgress
Methods in io.netty.resolver.dns that return AddressedEnvelope Modifier and Type Method Description AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>
DnsQueryContext.AddressedEnvelopeAdapter. retain()
AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>
DnsQueryContext.AddressedEnvelopeAdapter. retain(int increment)
AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>
DnsQueryContext.AddressedEnvelopeAdapter. touch()
AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>
DnsQueryContext.AddressedEnvelopeAdapter. touch(java.lang.Object hint)
Methods in io.netty.resolver.dns that return types with arguments of type AddressedEnvelope Modifier and Type Method Description private static Promise<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>
DnsNameResolver. cast(Promise<?> promise)
(package private) Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>
DnsNameResolver. doQuery(Channel channel, java.net.InetSocketAddress nameServerAddr, DnsQuestion question, DnsQueryLifecycleObserver queryLifecycleObserver, DnsRecord[] additionals, boolean flush, Promise<AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress>> promise)
Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>
DnsNameResolver. query(DnsQuestion question)
Sends a DNS query with the specified question.Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>
DnsNameResolver. query(DnsQuestion question, Promise<AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress>> promise)
Sends a DNS query with the specified question.Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>
DnsNameResolver. query(DnsQuestion question, java.lang.Iterable<DnsRecord> additionals)
Sends a DNS query with the specified question with additional records.Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>
DnsNameResolver. query(java.net.InetSocketAddress nameServerAddr, DnsQuestion question)
Sends a DNS query with the specified question using the specified name server list.Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>
DnsNameResolver. query(java.net.InetSocketAddress nameServerAddr, DnsQuestion question, Promise<AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress>> promise)
Sends a DNS query with the specified question using the specified name server list.Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>
DnsNameResolver. query(java.net.InetSocketAddress nameServerAddr, DnsQuestion question, java.lang.Iterable<DnsRecord> additionals)
Sends a DNS query with the specified question with additional records using the specified name server list.Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>
DnsNameResolver. query(java.net.InetSocketAddress nameServerAddr, DnsQuestion question, java.lang.Iterable<DnsRecord> additionals, Promise<AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress>> promise)
Sends a DNS query with the specified question with additional records using the specified name server list.Methods in io.netty.resolver.dns with parameters of type AddressedEnvelope Modifier and Type Method Description (package private) void
DnsQueryContext. finishSuccess(AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress> envelope, boolean truncated)
Notifies the originalPromise
that the response for the query was received.private boolean
DnsResolveContext. handleRedirect(DnsQuestion question, AddressedEnvelope<DnsResponse,java.net.InetSocketAddress> envelope, DnsQueryLifecycleObserver queryLifecycleObserver, Promise<java.util.List<T>> promise)
Handles a redirect answer if needed and returnstrue
if a redirect query has been made.private void
DnsResolveContext. onExpectedResponse(DnsQuestion question, AddressedEnvelope<DnsResponse,java.net.InetSocketAddress> envelope, DnsQueryLifecycleObserver queryLifecycleObserver, Promise<java.util.List<T>> promise)
private void
DnsResolveContext. onResponse(DnsServerAddressStream nameServerAddrStream, int nameServerAddrStreamIndex, DnsQuestion question, AddressedEnvelope<DnsResponse,java.net.InetSocketAddress> envelope, DnsQueryLifecycleObserver queryLifecycleObserver, Promise<java.util.List<T>> promise)
private boolean
DnsQueryContext. trySuccess(AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress> envelope)
Method parameters in io.netty.resolver.dns with type arguments of type AddressedEnvelope Modifier and Type Method Description (package private) Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>
DnsNameResolver. doQuery(Channel channel, java.net.InetSocketAddress nameServerAddr, DnsQuestion question, DnsQueryLifecycleObserver queryLifecycleObserver, DnsRecord[] additionals, boolean flush, Promise<AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress>> promise)
Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>
DnsNameResolver. query(DnsQuestion question, Promise<AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress>> promise)
Sends a DNS query with the specified question.Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>
DnsNameResolver. query(java.net.InetSocketAddress nameServerAddr, DnsQuestion question, Promise<AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress>> promise)
Sends a DNS query with the specified question using the specified name server list.Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>
DnsNameResolver. query(java.net.InetSocketAddress nameServerAddr, DnsQuestion question, java.lang.Iterable<DnsRecord> additionals, Promise<AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress>> promise)
Sends a DNS query with the specified question with additional records using the specified name server list.Constructor parameters in io.netty.resolver.dns with type arguments of type AddressedEnvelope Constructor Description DatagramDnsQueryContext(Channel channel, java.net.InetSocketAddress nameServerAddr, DnsQueryContextManager queryContextManager, int maxPayLoadSize, boolean recursionDesired, long queryTimeoutMillis, DnsQuestion question, DnsRecord[] additionals, Promise<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>> promise, Bootstrap socketBootstrap, boolean retryWithTcpOnTimeout)
DnsQueryContext(Channel channel, java.net.InetSocketAddress nameServerAddr, DnsQueryContextManager queryContextManager, int maxPayLoadSize, boolean recursionDesired, long queryTimeoutMillis, DnsQuestion question, DnsRecord[] additionals, Promise<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>> promise, Bootstrap socketBootstrap, boolean retryWithTcpOnTimeout)
TcpDnsQueryContext(Channel channel, java.net.InetSocketAddress nameServerAddr, DnsQueryContextManager queryContextManager, int maxPayLoadSize, boolean recursionDesired, long queryTimeoutMillis, DnsQuestion question, DnsRecord[] additionals, Promise<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>> promise)
-