Packages

final case class Address extends Product with Serializable

The address specifies the physical location under which an Actor can be reached. Examples are local addresses, identified by the ActorSystem’s name, and remote addresses, identified by protocol, host and port.

This class is final to allow use as a case class (copy method etc.); if for example a remote transport would want to associate additional information with an address, then this must be done externally.

Annotations
@SerialVersionUID()
Source
Address.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Address
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. 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 Address(protocol: String, system: String, host: String, port: Int)
  2. new Address(protocol: String, system: String)

Value Members

  1. def hasGlobalScope: Boolean

    Returns true if this Address is usable globally.

    Returns true if this Address is usable globally. Unlike locally defined addresses (akka.actor.Address#hasLocalScope) addresses of global scope are safe to sent to other hosts, as they globally and uniquely identify an addressable entity.

  2. def hasLocalScope: Boolean

    Returns true if this Address is only defined locally.

    Returns true if this Address is only defined locally. It is not safe to send locally scoped addresses to remote hosts. See also akka.actor.Address#hasGlobalScope.

  3. lazy val hashCode: Int
    Definition Classes
    Address → AnyRef → Any
    Annotations
    @transient()
  4. val host: Option[String]
  5. def hostPort: String

    Returns a String representation formatted as:

    Returns a String representation formatted as:

    system@host:port

  6. val port: Option[Int]
  7. val protocol: String
  8. val system: String
  9. lazy val toString: String

    Returns the canonical String representation of this Address formatted as:

    Returns the canonical String representation of this Address formatted as:

    protocol://system@host:port

    Definition Classes
    Address → AnyRef → Any
    Annotations
    @transient()