package models
- Alphabetic
- Public
- All
Type Members
- 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.
- final case class AkkaRegistration extends Registration with Product with Serializable
AkkaRegistration holds the information needed to register an akka location
- 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 (-)
- 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.
- sealed abstract class Connection extends LocationSerializable
Represents a connection based on a componentId and the type of connection offered by the component
- case class ConnectionInfo extends Product with Serializable
ConnectionInfo represents a component name, component type and connection type
- sealed abstract class ConnectionType extends EnumEntry
Represents a type of connection offered by the Component
- 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
- 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
- sealed abstract class Location extends LocationSerializable
Location represents a live Connection along with its URI
- 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
- 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
- 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.
- 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
- 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
- sealed abstract class TrackingEvent extends LocationSerializable
TrackingEvent is used to represent location events while tracking the connection
- 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
- object ComponentId extends Serializable
- object ComponentType extends Enum[ComponentType] with PlayJsonEnum[ComponentType]
- object Connection
- object ConnectionType extends Enum[ConnectionType] with PlayJsonEnum[ConnectionType]