Package

be.wegenenverkeer.atomium

client

Permalink

package client

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. client
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractAtomiumFeedClientActor[EVENT <: HasPosition, T] extends PersistentActor with ActorLogging

    Permalink

    Generic Actor that consumes Atomium feeds (in json format) via the AtomiumClient.

    Generic Actor that consumes Atomium feeds (in json format) via the AtomiumClient. If the feed handling goes wrong, the actor will stop (whatever the failure type is). It is therefore suggested to run this actor within a BackoffSupervisor or similar construct.

    This actor only sends messages to itself. The feed entries are reported by the publishEvent method.

    It's the job of the subclass to decide what to do with these entries.

    EVENT

    type of the event that will be put on the eventbus

    T

    (domain) type to deserialize the json feed entries to

  2. case class AtomiumFeedClientStatus(ok: Boolean, status: String, error: Option[String] = None, feedPosition: Option[String] = None, entryId: Option[String] = None, receivedOn: Option[LocalDateTime] = None) extends Product with Serializable

    Permalink
  3. case class FeedConfig(baseUrl: String, feedUrl: String, pollingInterval: Duration = 5000.millis, connectTimeout: Duration = 10000.millis) extends Product with Serializable

    Permalink
  4. type FeedEntryUnmarshaller[E] = (String) ⇒ Try[Feed[E]]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped