com.h3c.util.pkt

## Class Dns.MxData

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

- Enclosing class:
    Dns

      public static class Dns.MxData
      extends Object

  DNS "MX" resource data (immutable).

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Dns.MxData(int pref, String name)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `name()` Returns the name.
    `int` | `pref()` Returns the preference.
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### Dns.MxData

          public Dns.MxData(int pref,
                    String name)

  - ### Method Detail

    - #### name

          public String name()

      Returns the name.
      Returns:
        the name

    - #### pref

          public int pref()

      Returns the preference.
      Returns:
        the preference.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2014. All Rights Reserved.