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 classDefaultAddressedEnvelope<M,A extends java.net.SocketAddress>The defaultAddressedEnvelopeimplementation.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 classSegmentedDatagramPacketDeprecated.Methods in io.netty.channel.epoll with parameters of type AddressedEnvelope Modifier and Type Method Description private static voidEpollDatagramChannel. 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 voidKQueueDatagramChannel. 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 classDatagramPacketThe message container that is used forDatagramChannelto 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 voidNioDatagramChannel. 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 voidOioDatagramChannel. 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 classDomainDatagramPacketThe message container that is used forDomainDatagramChannelto communicate with the remote peer.classSegmentedDatagramPacketAllows 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 voidDatagramPacketEncoder. 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 classDatagramDnsQueryADnsQueryimplementation for UDP/IP.classDatagramDnsResponseADnsResponseimplementation for UDP/IP.Methods in io.netty.handler.codec.dns with parameters of type AddressedEnvelope Modifier and Type Method Description protected ByteBufDatagramDnsQueryEncoder. allocateBuffer(ChannelHandlerContext ctx, AddressedEnvelope<DnsQuery,java.net.InetSocketAddress> msg)Allocate aByteBufwhich will be used for constructing a datagram packet.protected ByteBufDatagramDnsResponseEncoder. allocateBuffer(ChannelHandlerContext ctx, AddressedEnvelope<DnsResponse,java.net.InetSocketAddress> msg)Allocate aByteBufwhich will be used for constructing a datagram packet.protected voidDatagramDnsQueryEncoder. encode(ChannelHandlerContext ctx, AddressedEnvelope<DnsQuery,java.net.InetSocketAddress> in, java.util.List<java.lang.Object> out)protected voidDatagramDnsResponseEncoder. 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 classDnsQueryContext.AddressedEnvelopeAdapterFields in io.netty.resolver.dns with type parameters of type AddressedEnvelope Modifier and Type Field Description private Promise<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>DnsQueryContext. promiseprivate java.util.Set<Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>>>DnsResolveContext. queriesInProgressMethods 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) voidDnsQueryContext. finishSuccess(AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress> envelope, boolean truncated)Notifies the originalPromisethat the response for the query was received.private booleanDnsResolveContext. handleRedirect(DnsQuestion question, AddressedEnvelope<DnsResponse,java.net.InetSocketAddress> envelope, DnsQueryLifecycleObserver queryLifecycleObserver, Promise<java.util.List<T>> promise)Handles a redirect answer if needed and returnstrueif a redirect query has been made.private voidDnsResolveContext. onExpectedResponse(DnsQuestion question, AddressedEnvelope<DnsResponse,java.net.InetSocketAddress> envelope, DnsQueryLifecycleObserver queryLifecycleObserver, Promise<java.util.List<T>> promise)private voidDnsResolveContext. onResponse(DnsServerAddressStream nameServerAddrStream, int nameServerAddrStreamIndex, DnsQuestion question, AddressedEnvelope<DnsResponse,java.net.InetSocketAddress> envelope, DnsQueryLifecycleObserver queryLifecycleObserver, Promise<java.util.List<T>> promise)private booleanDnsQueryContext. 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)
-