Packages

class DnsClient extends AnyRef

Provides a way to asynchronously lookup information from DNS servers.

Please consult the documentation for more information on DNS clients.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DnsClient
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DnsClient(_asJava: AnyRef)

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. def asJava: AnyRef
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @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
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def lookup(name: String, handler: Handler[AsyncResult[Option[String]]]): 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. * @param name the name to resolve

    handler

    the scala-function to notify with the io.vertx.lang.scala.AsyncResult. The handler will get notified with the resolved address if a record was found. If non was found it will get notifed with null. If an error accours it will get failed.

    returns

    a reference to this, so the API can be used fluently

  14. def lookup4(name: String, handler: Handler[AsyncResult[Option[String]]]): 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. * @param name the name to resolve

    handler

    the scala-function to notify with the io.vertx.lang.scala.AsyncResult. The handler 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

    a reference to this, so the API can be used fluently

  15. def lookup4Future(name: String): scala.concurrent.Future[Option[String]]

    Like lookup4 but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  16. def lookup6(name: String, handler: Handler[AsyncResult[Option[String]]]): 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. * @param name the name to resolve

    handler

    the scala-function to notify with the io.vertx.lang.scala.AsyncResult. The handler 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

    a reference to this, so the API can be used fluently

  17. def lookup6Future(name: String): scala.concurrent.Future[Option[String]]

    Like lookup6 but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  18. def lookupFuture(name: String): scala.concurrent.Future[Option[String]]

    Like lookup but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def resolveA(name: String, handler: Handler[AsyncResult[Buffer[String]]]): DnsClient

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

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

    handler

    the scala-function to notify with the io.vertx.lang.scala.AsyncResult. The handler will get notified with a scala.collection.immutable.List that contains all the resolved java.net.Inet4Addresses. If none was found an empty scala.collection.immutable.List will be used. If an error accours it will get failed.

    returns

    a reference to this, so the API can be used fluently

  23. def resolveAAAA(name: String, handler: Handler[AsyncResult[Buffer[String]]]): DnsClient

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

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

    handler

    the scala-function to notify with the io.vertx.lang.scala.AsyncResult. The handler will get notified with a scala.collection.immutable.List that contains all the resolved java.net.Inet6Addresses. If none was found an empty scala.collection.immutable.List will be used. If an error accours it will get failed.

    returns

    a reference to this, so the API can be used fluently

  24. def resolveAAAAFuture(name: String): scala.concurrent.Future[Buffer[String]]

    Like resolveAAAA but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  25. def resolveAFuture(name: String): scala.concurrent.Future[Buffer[String]]

    Like resolveA but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  26. def resolveCNAME(name: String, handler: Handler[AsyncResult[Buffer[String]]]): DnsClient

    Try to resolve the CNAME record for the given name.

    Try to resolve the CNAME record for the given name. * @param name the name to resolve the CNAME for

    handler

    the scala-function to notify with the io.vertx.lang.scala.AsyncResult. The handler will get notified with the resolved String if a record was found. If none was found it will get notified with null. If an error accours it will get failed.

    returns

    a reference to this, so the API can be used fluently.

  27. def resolveCNAMEFuture(name: String): scala.concurrent.Future[Buffer[String]]

    Like resolveCNAME but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  28. def resolveMX(name: String, handler: Handler[AsyncResult[Buffer[MxRecord]]]): DnsClient

    Try to resolve the MX records for the given name.

    Try to resolve the MX records for the given name. * @param name the name for which the MX records should be resolved

    handler

    the scala-function to notify with the io.vertx.lang.scala.AsyncResult. The handler will get notified with a List that contains all resolved MxRecords, sorted by their 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

    a reference to this, so the API can be used fluently.

  29. def resolveMXFuture(name: String): scala.concurrent.Future[Buffer[MxRecord]]

    Like resolveMX but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  30. def resolveNS(name: String, handler: Handler[AsyncResult[Buffer[String]]]): DnsClient

    Try to resolve the NS records for the given name.

    Try to resolve the NS records for the given name. * @param name the name for which the NS records should be resolved

    handler

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

    returns

    a reference to this, so the API can be used fluently.

  31. def resolveNSFuture(name: String): scala.concurrent.Future[Buffer[String]]

    Like resolveNS but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  32. def resolvePTR(name: String, handler: Handler[AsyncResult[Option[String]]]): DnsClient

    Try to resolve the PTR record for the given name.

    Try to resolve the PTR record for the given name. * @param name the name to resolve the PTR for

    handler

    the scala-function to notify with the io.vertx.lang.scala.AsyncResult. The handler will get notified with the resolved String if a record was found. If none was found it will get notified with null. If an error accours it will get failed.

    returns

    a reference to this, so the API can be used fluently.

  33. def resolvePTRFuture(name: String): scala.concurrent.Future[Option[String]]

    Like resolvePTR but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  34. def resolveSRV(name: String, handler: Handler[AsyncResult[Buffer[SrvRecord]]]): DnsClient

    Try to resolve the SRV records for the given name.

    Try to resolve the SRV records for the given name. * @param name the name for which the SRV records should be resolved

    handler

    the scala-function to notify with the io.vertx.lang.scala.AsyncResult. The handler will get notified with a List that contains all resolved SrvRecords. If none was found it will get notified with an empty scala.collection.immutable.List. If an error accours it will get failed.

    returns

    a reference to this, so the API can be used fluently.

  35. def resolveSRVFuture(name: String): scala.concurrent.Future[Buffer[SrvRecord]]

    Like resolveSRV but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  36. def resolveTXT(name: String, handler: Handler[AsyncResult[Buffer[String]]]): DnsClient

    Try to resolve the TXT records for the given name.

    Try to resolve the TXT records for the given name. * @param name the name for which the TXT records should be resolved

    handler

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

    returns

    a reference to this, so the API can be used fluently.

  37. def resolveTXTFuture(name: String): scala.concurrent.Future[Buffer[String]]

    Like resolveTXT but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  38. def reverseLookup(ipaddress: String, handler: Handler[AsyncResult[Option[String]]]): DnsClient

    Try to do a reverse lookup of an IP address.

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

    handler

    the scala-function to notify with the io.vertx.lang.scala.AsyncResult. The handler will get notified with the resolved String if a record was found. If none was found it will get notified with null. If an error accours it will get failed.

    returns

    a reference to this, so the API can be used fluently.

  39. def reverseLookupFuture(ipaddress: String): scala.concurrent.Future[Option[String]]

    Like reverseLookup but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped