Class/Object

org.genivi.sota.core.rvi

TransferProtocolActor

Related Docs: object TransferProtocolActor | package rvi

Permalink

class TransferProtocolActor extends Actor with ActorLogging

Actor to transfer packages to a single vehicle.

Linear Supertypes
ActorLogging, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TransferProtocolActor
  2. ActorLogging
  3. Actor
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TransferProtocolActor(db: slick.driver.JdbcProfile.API.Database, rviClient: ConnectivityClient, transferActorProps: (UUID, String, Package, ClientServices) ⇒ Props)

    Permalink

    db

    the database connection

    rviClient

    the client to the RVI node

    transferActorProps

    the configuration class for creating the PackageTransferActor

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def abortUpdate(services: ClientServices, updates: Set[UpdateSpec]): Unit

    Permalink
  5. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  6. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  7. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  8. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  9. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def buildTransferQueue(specs: Iterable[UpdateSpec]): Queue[(UpdateSpec, Package)]

    Permalink
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. val installTimeout: FiniteDuration

    Permalink
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def loadSpecs(services: ClientServices): Receive

    Permalink
  22. def log: LoggingAdapter

    Permalink
    Definition Classes
    ActorLogging
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  27. def postStop(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  28. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  29. def preStart(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  30. def receive: Receive

    Permalink

    Entry point to this actor when the vehicle initiates a download.

    Entry point to this actor when the vehicle initiates a download.

    Definition Classes
    TransferProtocolActor → Actor
  31. def running(services: ClientServices, updates: Set[UpdateSpec], pending: Queue[(UpdateSpec, Package)], inProgress: Map[ActorRef, (UpdateSpec, Package)], done: Set[Package]): Receive

    Permalink

    Create actors to handle each transfer to the vehicle.

    Create actors to handle each transfer to the vehicle. Forward ChunksReceived messages from the vehicle to the transfer actors. Terminate when all updates and dependencies are successfully transferred, or when the transfer is aborted because the vehicle is not responding.

  32. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  33. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  34. def startPackageUpload(services: ClientServices)(update: UpdateSpec, pkg: Package): (ActorRef, (UpdateSpec, Package))

    Permalink
  35. def supervisorStrategy: SupervisorStrategy

    Permalink
    Definition Classes
    Actor
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. def ttl(): DateTime

    Permalink
  39. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    Actor
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ActorLogging

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped