Class DnsQueryContext.AddressedEnvelopeAdapter

java.lang.Object
io.netty.resolver.dns.DnsQueryContext.AddressedEnvelopeAdapter
All Implemented Interfaces:
AddressedEnvelope<DnsResponse, java.net.InetSocketAddress>, ReferenceCounted
Enclosing class:
DnsQueryContext

private static final class DnsQueryContext.AddressedEnvelopeAdapter extends java.lang.Object implements AddressedEnvelope<DnsResponse, java.net.InetSocketAddress>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final java.net.InetSocketAddress
     
    private final DnsResponse
     
    private final java.net.InetSocketAddress
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AddressedEnvelopeAdapter(java.net.InetSocketAddress sender, java.net.InetSocketAddress recipient, DnsResponse response)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the message wrapped by this envelope message.
    boolean
    equals(java.lang.Object obj)
     
    int
     
    java.net.InetSocketAddress
    Returns the address of the recipient of this message.
    int
    Returns the reference count of this object.
    boolean
    Decreases the reference count by 1 and deallocates this object if the reference count reaches at 0.
    boolean
    release(int decrement)
    Decreases the reference count by the specified decrement and deallocates this object if the reference count reaches at 0.
    AddressedEnvelope<DnsResponse, java.net.InetSocketAddress>
    Increases the reference count by 1.
    AddressedEnvelope<DnsResponse, java.net.InetSocketAddress>
    retain(int increment)
    Increases the reference count by the specified increment.
    java.net.InetSocketAddress
    Returns the address of the sender of this message.
    AddressedEnvelope<DnsResponse, java.net.InetSocketAddress>
    Records the current access location of this object for debugging purposes.
    AddressedEnvelope<DnsResponse, java.net.InetSocketAddress>
    touch(java.lang.Object hint)
    Records the current access location of this object with an additional arbitrary information for debugging purposes.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • sender

      private final java.net.InetSocketAddress sender
    • recipient

      private final java.net.InetSocketAddress recipient
    • response

      private final DnsResponse response
  • Constructor Details

    • AddressedEnvelopeAdapter

      AddressedEnvelopeAdapter(java.net.InetSocketAddress sender, java.net.InetSocketAddress recipient, DnsResponse response)
  • Method Details