com.h3c.util.pkt

## Class Dns.Record

- java.lang.Object
- - com.h3c.util.pkt.Dns.Record

- Direct Known Subclasses:
    Dns.ResRecord
  Enclosing class:
    Dns

      public static class Dns.Record
      extends Object

  DNS record data store (immutable).

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Dns.ClassType` | `clsType()` Returns the class of query.
    `boolean` | `equals(Object o)`
    `int` | `hashCode()`
    `String` | `name()` Returns the name in the query.
    `Dns.RecordType` | `recType()` Returns the record type.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### name

          public String name()

      Returns the name in the query.
      Returns:
        the name being queried

    - #### recType

          public Dns.RecordType recType()

      Returns the record type.
      Returns:
        the record type

    - #### clsType

          public Dns.ClassType clsType()

      Returns the class of query.
      Returns:
        the query class

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2014. All Rights Reserved.