org.vertx.scala.core.dns

DnsClient

final class DnsClient extends Self

Provides a way to asynchronous lookup informations from DNS-Servers.

Linear Supertypes
Self, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DnsClient
  2. Self
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. val asJava: java.core.dns.DnsClient

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  13. def lookup(name: String, handler: (AsyncResult[InetAddress]) ⇒ Unit): DnsClient

    Try to lookup the A (ipv4) or AAAA (ipv6) record for the given name.

    Try to lookup the A (ipv4) or AAAA (ipv6) record for the given name. The first found will be used.

    name

    The name to resolve

    handler

    the handler to notify with the org.vertx.scala.core.AsyncResult. The org.vertx.scala.core.AsyncResult will get notified with the resolved java.net.InetAddress if a record was found. If non was found it will get notifed with null. If an error accours it will get failed.

    returns

    itself for method-chaining.

  14. def lookup4(name: String, handler: (AsyncResult[Inet4Address]) ⇒ Unit): DnsClient

    Try to lookup the A (ipv4) record for the given name.

    Try to lookup the A (ipv4) record for the given name. The first found will be used.

    name

    The name to resolve

    handler

    the handler to notify with the org.vertx.scala.core.AsyncResult. The org.vertx.scala.core.AsyncResult will get notified with the resolved java.net.Inet4Address if a record was found. If non was found it will get notifed with null. If an error accours it will get failed.

    returns

    itself for method-chaining.

  15. def lookup6(name: String, handler: (AsyncResult[Inet6Address]) ⇒ Unit): DnsClient

    Try to lookup the AAAA (ipv6) record for the given name.

    Try to lookup the AAAA (ipv6) record for the given name. The first found will be used.

    name

    The name to resolve

    handler

    the handler to notify with the org.vertx.scala.core.AsyncResult. The org.vertx.scala.core.AsyncResult will get notified with the resolved java.net.Inet6Address if a record was found. If non was found it will get notifed with null. If an error accours it will get failed.

    returns

    itself for method-chaining.

  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. def resolveA(name: String, handler: (AsyncResult[List[Inet4Address]]) ⇒ Unit): DnsClient

    Try to resolve all A (ipv4) records for the given name.

    Try to resolve all A (ipv4) records for the given name.

    name

    The name to resolve

    handler

    the handler to notify with the org.vertx.scala.core.AsyncResult. The org.vertx.scala.core.AsyncResult will get notified with a scala.collection.immutable.List that contains all the resolved java.net.Inet4Addresses. If non was found and empty scala.collection.immutable.List will be used. If an error accours it will get failed.

    returns

    itself for method-chaining.

  20. def resolveAAAA(name: String, handler: (AsyncResult[List[Inet6Address]]) ⇒ Unit): DnsClient

    Try to resolve all AAAA (ipv6) records for the given name.

    Try to resolve all AAAA (ipv6) records for the given name.

    name

    The name to resolve

    handler

    the handler to notify with the org.vertx.scala.core.AsyncResult. The org.vertx.scala.core.AsyncResult will get notified with a scala.collection.immutable.List that contains all the resolved java.net.Inet6Addresses. If non was found and empty scala.collection.immutable.List will be used. If an error accours it will get failed.

    returns

    itself for method-chaining.

  21. def resolveCNAME(name: String, handler: (AsyncResult[List[String]]) ⇒ Unit): DnsClient

    Try to resolve the CNAME record for the given name.

    Try to resolve the CNAME record for the given name.

    name

    The name to resolve the CNAME for

    handler

    the handler to notify with the org.vertx.scala.core.AsyncResult. The org.vertx.scala.core.AsyncResult will get notified with the resolved java.lang.String if a record was found. If non was found it will get notified with null. If an error accours it will get failed.

    returns

    itself for method-chaining.

  22. def resolveMX(name: String, handler: (AsyncResult[List[MxRecord]]) ⇒ Unit): DnsClient

    Try to resolve the MX records for the given name.

    Try to resolve the MX records for the given name.

    name

    The name for which the MX records should be resolved

    handler

    the handler to notify with the org.vertx.scala.core.AsyncResult. The org.vertx.scala.core.AsyncResult will get notified with a scala.collection.immutable.List that contains all resolved org.vertx.scala.core.dns.MxRecords, sorted by their org.vertx.scala.core.dns.MxRecord.priority(). If non was found it will get notified with an empty scala.collection.immutable.List If an error accours it will get failed.

    returns

    itself for method-chaining.

  23. def resolveNS(name: String, handler: (AsyncResult[List[String]]) ⇒ Unit): DnsClient

    Try to resolve the NS records for the given name.

    Try to resolve the NS records for the given name.

    name

    The name for which the NS records should be resolved

    handler

    the handler to notify with the org.vertx.scala.core.AsyncResult. The org.vertx.scala.core.AsyncResult will get notified with a scala.collection.immutable.List that contains all resolved java.lang.Strings. If non was found it will get notified with an empty scala.collection.immutable.List If an error accours it will get failed.

    returns

    itself for method-chaining.

  24. def resolvePTR(name: String, handler: (AsyncResult[String]) ⇒ Unit): DnsClient

    Try to resolve the PTR record for the given name.

    Try to resolve the PTR record for the given name.

    name

    The name to resolve the PTR for

    handler

    the handler to notify with the org.vertx.scala.core.AsyncResult. The org.vertx.scala.core.AsyncResult will get notified with the resolved java.lang.String if a record was found. If non was found it will get notified with null. If an error accours it will get failed.

    returns

    itself for method-chaining.

  25. def resolveSRV(name: String, handler: (AsyncResult[List[SrvRecord]]) ⇒ Unit): DnsClient

    Try to resolve the SRV records for the given name.

    Try to resolve the SRV records for the given name.

    name

    The name for which the SRV records should be resolved

    handler

    the handler to notify with the org.vertx.scala.core.AsyncResult. The org.vertx.scala.core.AsyncResult will get notified with a scala.collection.immutable.List that contains all resolved org.vertx.scala.core.dns.SrvRecords. If non was found it will get notified with an empty scala.collection.immutable.List If an error accours it will get failed.

    returns

    itself for method-chaining.

  26. def resolveTXT(name: String, handler: (AsyncResult[List[String]]) ⇒ Unit): DnsClient

    Try to resolve the TXT records for the given name.

    Try to resolve the TXT records for the given name.

    name

    The name for which the TXT records should be resolved

    handler

    the handler to notify with the org.vertx.scala.core.AsyncResult. The org.vertx.scala.core.AsyncResult will get notified with a scala.collection.immutable.List that contains all resolved java.lang.Strings. If non was found it will get notified with an empty scala.collection.immutable.List If an error accours it will get failed.

    returns

    itself for method-chaining.

  27. def reverseLookup(ipaddress: String, handler: (AsyncResult[InetAddress]) ⇒ Unit): DnsClient

    Try to do a reverse lookup of an ipaddress.

    Try to do a reverse lookup of an ipaddress. This is basically the same as doing trying to resolve a PTR record but allows you to just pass in the ipaddress and not a valid ptr query string.

    ipaddress

    The ipaddress to resolve the PTR for

    handler

    the handler to notify with the org.vertx.scala.core.AsyncResult. The org.vertx.scala.core.AsyncResult will get notified with the resolved java.lang.String if a record was found. If non was found it will get notified with null. If an error accours it will get failed.

    returns

    itself for method-chaining.

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def wrap[X](doStuff: ⇒ X): DnsClient.this.type

    Helper method wrapping invocations and returning the Scala type, once again to help provide fluent return types

    Helper method wrapping invocations and returning the Scala type, once again to help provide fluent return types

    Attributes
    protected[this]
    Definition Classes
    Self

Inherited from Self

Inherited from AnyRef

Inherited from Any

Ungrouped