Packages

final class Lookup extends AnyRef

A service lookup. It is up to each method to decide what to do with the optional portName and protocol fields. For example portName could be used to distinguish between Akka remoting ports and HTTP ports.

Source
ServiceDiscovery.scala
Exceptions thrown

IllegalArgumentException if serviceName is 'null' or an empty String

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Lookup
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Lookup(serviceName: String, portName: Option[String], protocol: Option[String])

    Exceptions thrown

    IllegalArgumentException if serviceName is 'null' or an empty String

Value Members

  1. def equals(obj: Any): Boolean
    Definition Classes
    Lookup → AnyRef → Any
  2. def getPortName: Optional[String]

    Java API

  3. def getProtocol: Optional[String]

    Java API

  4. def hashCode(): Int
    Definition Classes
    Lookup → AnyRef → Any
  5. val portName: Option[String]
  6. val protocol: Option[String]
  7. val serviceName: String
  8. def toString(): String
    Definition Classes
    Lookup → AnyRef → Any
  9. def withPortName(value: String): Lookup

    Which port for a service e.g.

    Which port for a service e.g. Akka remoting or HTTP. Maps to "service" for an SRV records.

  10. def withProtocol(value: String): Lookup

    Which protocol e.g.

    Which protocol e.g. TCP or UDP. Maps to "protocol" for SRV records.