Packages

package models

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Package Members

  1. package codecs

Type Members

  1. final case class AkkaLocation(connection: AkkaConnection, prefix: Prefix, uri: URI) extends Location with Product with Serializable

    Represents a live Akka connection of an Actor

    Represents a live Akka connection of an Actor

    connection

    represents a connection based on a componentId and the type of connection offered by the component

    prefix

    prefix of the component

    uri

    represents the actor URI of the component. Gateway or router for a component that other components will resolve and talk to.

    Note

    Do not directly access actorRef from constructor, use one of component() or containerRef() method to get the correctly typed actor reference.

  2. final case class AkkaRegistration extends Registration with Product with Serializable

    AkkaRegistration holds the information needed to register an akka location

  3. case class ComponentId extends Product with Serializable

    Represents a component based on its name and type.

    Represents a component based on its name and type.

    Note

    Name should not contain

    • leading or trailing spaces
    • and hyphen (-)
  4. sealed abstract class ComponentType extends EnumEntry with Lowercase

    Represents a type of the Component.

    Represents a type of the Component. It should be serializable since it has to be transmittable over the network. The type will always be represented in lower case.

  5. sealed abstract class Connection extends LocationSerializable

    Represents a connection based on a componentId and the type of connection offered by the component

  6. case class ConnectionInfo extends Product with Serializable

    ConnectionInfo represents a component name, component type and connection type

  7. sealed abstract class ConnectionType extends EnumEntry

    Represents a type of connection offered by the Component

  8. final case class HttpLocation(connection: HttpConnection, uri: URI) extends Location with Product with Serializable

    Represents a live Http connection

    Represents a live Http connection

    connection

    represents a connection based on a componentId and the type of connection offered by the component

    uri

    represents the remote URI of the component that other components will resolve and talk to

  9. final case class HttpRegistration(connection: HttpConnection, port: Int, path: String) extends Registration with Product with Serializable

    HttpRegistration holds information needed to register a Http service

    HttpRegistration holds information needed to register a Http service

    port

    provide the port where Http service is available

    path

    provide the path to reach the available http service

  10. sealed abstract class Location extends LocationSerializable

    Location represents a live Connection along with its URI

  11. case class LocationRemoved(connection: Connection) extends TrackingEvent with Product with Serializable

    This event represents unavailability of a location

    This event represents unavailability of a location

    connection

    for which the location no longer exists

  12. case class LocationUpdated(location: Location) extends TrackingEvent with Product with Serializable

    This event represents modification in location details

    This event represents modification in location details

    location

    the updated location for the tracked connection

  13. sealed abstract class Registration extends LocationSerializable

    Registration holds information about a connection and its live location.

    Registration holds information about a connection and its live location. This model is used to register a connection with LocationService.

  14. final case class TcpLocation(connection: TcpConnection, uri: URI) extends Location with Product with Serializable

    Represents a live Tcp connection

    Represents a live Tcp connection

    connection

    represents a connection based on a componentId and the type of connection offered by the component

    uri

    represents the remote URI of the component that other components will resolve and talk to

  15. final case class TcpRegistration(connection: TcpConnection, port: Int) extends Registration with Product with Serializable

    TcpRegistration holds information needed to register a Tcp service

    TcpRegistration holds information needed to register a Tcp service

    port

    provide the port where Tcp service is available

  16. sealed abstract class TrackingEvent extends LocationSerializable

    TrackingEvent is used to represent location events while tracking the connection

  17. sealed abstract class TypedConnection[T <: Location] extends Connection

    TypedConnection captures the type of Location that concrete connection will resolve to

    TypedConnection captures the type of Location that concrete connection will resolve to

    T

    represents the type of Location

Value Members

  1. object ComponentId extends Serializable
  2. object ComponentType extends Enum[ComponentType] with PlayJsonEnum[ComponentType]
  3. object Connection
  4. object ConnectionType extends Enum[ConnectionType] with PlayJsonEnum[ConnectionType]

Ungrouped