io.github.positionpal.location.domain
Members list
Type members
Classlikes
An address, identified by a name and a position.
An address, identified by a name and a position.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The possible alerts that can be triggered during a MonitorableTracking session while monitoring the user's route to a destination.
The possible alerts that can be triggered during a MonitorableTracking session while monitoring the user's route to a destination.
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A trait representing an event reaction that produces two possible outcomes: a "left" (failure) and a "right" (success) outcome, following a short-circuit evaluation strategy: once the left outcome is produced, no further reactions are processed, stopping the chain of reactions at the first failure.
A trait representing an event reaction that produces two possible outcomes: a "left" (failure) and a "right" (success) outcome, following a short-circuit evaluation strategy: once the left outcome is produced, no further reactions are processed, stopping the chain of reactions at the first failure.
Attributes
- Supertypes
- Known subtypes
-
object TrackingEventReaction
An event driving an application use case triggered by a client.
An event driving an application use case triggered by a client.
Attributes
- Supertypes
- Known subtypes
-
class RoutingStartedclass RoutingStoppedclass SOSAlertStoppedclass SOSAlertTriggeredclass SampledLocationclass WentOfflineShow all
A distance record, identified by a value and a unit of measurement.
A distance record, identified by a value and a unit of measurement.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A generic domain event, representing a valuable change in the system.
A generic domain event, representing a valuable change in the system.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait DrivenEventclass UserUpdatetrait DrivingEventtrait ClientDrivingEventclass RoutingStartedclass RoutingStoppedclass SOSAlertStoppedclass SOSAlertTriggeredclass SampledLocationclass WentOfflinetrait InternalEventclass StuckAlertStoppedclass StuckAlertTriggeredclass TimeoutAlertTriggeredShow all
An event triggered by the system as a result of some system action.
An event triggered by the system as a result of some system action.
Attributes
- Supertypes
- Known subtypes
-
class UserUpdate
An event driving an application use case.
An event driving an application use case.
Attributes
- Supertypes
- Known subtypes
-
trait ClientDrivingEventclass RoutingStartedclass RoutingStoppedclass SOSAlertStoppedclass SOSAlertTriggeredclass SampledLocationclass WentOfflinetrait InternalEventclass StuckAlertStoppedclass StuckAlertTriggeredclass TimeoutAlertTriggeredShow all
A bunch of conversion utilities for domain events.
A bunch of conversion utilities for domain events.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
EventConversions.type
An abstract data type for effectful event reactions.
An abstract data type for effectful event reactions.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object TrackingEventReaction
A mixin enriching the EventReactionADT with operations for filtering the execution of reactions.
A mixin enriching the EventReactionADT with operations for filtering the execution of reactions.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object TrackingEventReaction
- Self type
An event driving a use case triggered by the system itself.
An event driving a use case triggered by the system itself.
Attributes
- Supertypes
- Known subtypes
An invalid state, reached because of an unexpected event.
An invalid state, reached because of an unexpected event.
Value parameters
- reason
-
The reason why the state is invalid.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The mode of routing to a destination.
The mode of routing to a destination.
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
An event triggered when a user starts routing to a destination.
An event triggered when a user starts routing to a destination.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ClientDrivingEventtrait DrivingEventtrait DomainEventclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
RoutingStarted.type
An event triggered to stop an active route.
An event triggered to stop an active route.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ClientDrivingEventtrait DrivingEventtrait DomainEventclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
RoutingStopped.type
An event triggered by a user when stopping the SOS alert.
An event triggered by a user when stopping the SOS alert.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ClientDrivingEventtrait DrivingEventtrait DomainEventclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SOSAlertStopped.type
An event triggered by a user when needing help.
An event triggered by a user when needing help.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ClientDrivingEventtrait DrivingEventtrait DomainEventclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SOSAlertTriggered.type
An event triggered regularly on behalf of a user, tracking its position.
An event triggered regularly on behalf of a user, tracking its position.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ClientDrivingEventtrait DrivingEventtrait DomainEventclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SampledLocation.type
Defines the context in which a user's state is visible and relevant to a specific group. A Scope
captures the idea that a user's state can differ depending on the group they are associated with, enabling group-specific visibility and tracking.
Defines the context in which a user's state is visible and relevant to a specific group. A Scope
captures the idea that a user's state can differ depending on the group they are associated with, enabling group-specific visibility and tracking.
Value parameters
- groupId
-
The unique identifier of the group.
- userId
-
The unique identifier of the user.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A facade over the user's state and tracking information.
A facade over the user's state and tracking information.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
An event triggered when a user stops being stuck.
An event triggered when a user stops being stuck.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait InternalEventtrait DrivingEventtrait DomainEventclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
StuckAlertStopped.type
An event triggered when a user is stuck in the same position for a suspicious amount of time.
An event triggered when a user is stuck in the same position for a suspicious amount of time.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait InternalEventtrait DrivingEventtrait DomainEventclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
StuckAlertTriggered.type
An event triggered when a user is late to reach a destination.
An event triggered when a user is late to reach a destination.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait InternalEventtrait DrivingEventtrait DomainEventclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
The tracking of a user.
The tracking of a user.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait MonitorableTracking
The user state information.
The user state information.
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A user update event.
A user update event.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait DrivenEventtrait DomainEventclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
UserUpdate.type
An event triggered when a user goes offline.
An event triggered when a user goes offline.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ClientDrivingEventtrait DrivingEventtrait DomainEventclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
WentOffline.type
Types
The latitude of a GPSLocation.
The longitude of a GPSLocation.
A list of ordered SampledLocations that can be interpolated forming a path between two geographical positions.
A list of ordered SampledLocations that can be interpolated forming a path between two geographical positions.
Attributes
Value members
Concrete methods
Creates a new notification message with the given title and body.
Creates a new notification message with the given title and body.
Attributes
- Returns
-
a new NotificationMessage.