class ODFAgent extends ScalaInternalAgentTemplate

Agent that reads a XML file from given config path and writes the contents to the server with customizable interval. Values of the xml have updated timestamps with every write and values are also changed for some types: "xs:int" -> value is randomply incremented/decremented by 1 every interval "xs:double" -> value is incremented by gaussian random variable and rounded to 2 decimal points "xs:boolean" -> boolean value is changed with 20% probability every write

Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ODFAgent
  2. ScalaInternalAgentTemplate
  3. ScalaInternalAgent
  4. ActorLogging
  5. InternalAgent
  6. Actor
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ODFAgent(config: Config, requestHandler: ActorRef, dbHandler: ActorRef)

    config

    config containing the XML-file path and write interval information.

Type Members

  1. type Receive = PartialFunction[Any, Unit]
    Definition Classes
    Actor
  2. case class Update() extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ODFAgent to any2stringadd[ODFAgent] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ODFAgent, B)
    Implicit
    This member is added by an implicit conversion from ODFAgent to ArrowAssoc[ODFAgent] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def agentSystem: ActorRef
    Definition Classes
    ScalaInternalAgent
  7. def aroundPostRestart(reason: Throwable): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  8. def aroundPostStop(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  9. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  10. def aroundPreStart(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  11. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  14. val config: Config
  15. implicit val context: ActorContext
    Definition Classes
    Actor
  16. def date: Date
  17. val dbHandler: ActorRef
    Attributes
    protected
    Definition Classes
    ScalaInternalAgentTemplateScalaInternalAgent
  18. def ensuring(cond: (ODFAgent) ⇒ Boolean, msg: ⇒ Any): ODFAgent
    Implicit
    This member is added by an implicit conversion from ODFAgent to Ensuring[ODFAgent] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: (ODFAgent) ⇒ Boolean): ODFAgent
    Implicit
    This member is added by an implicit conversion from ODFAgent to Ensuring[ODFAgent] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean, msg: ⇒ Any): ODFAgent
    Implicit
    This member is added by an implicit conversion from ODFAgent to Ensuring[ODFAgent] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean): ODFAgent
    Implicit
    This member is added by an implicit conversion from ODFAgent to Ensuring[ODFAgent] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ODFAgent to StringFormat[ODFAgent] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  26. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. val interval: FiniteDuration
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def log: LoggingAdapter
    Definition Classes
    ActorLogging
  31. final def name: String
    Definition Classes
    ScalaInternalAgent
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. val odfQueue: Queue[ODF]
  36. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  37. def postStop(): Unit
    Definition Classes
    ODFAgent → Actor
  38. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  39. def preStart(): Unit
    Definition Classes
    ODFAgent → Actor
  40. final def readFromDB(read: ReadRequest): Future[ResponseRequest]
    Definition Classes
    ScalaInternalAgent
  41. def receive: PartialFunction[Any, Unit]
    Definition Classes
    ODFAgent → Actor
  42. final def requestFromDB(request: OdfRequest): Future[ResponseRequest]
    Definition Classes
    ScalaInternalAgent
  43. final def requestFromNode(request: OdfRequest): Future[ResponseRequest]
    Definition Classes
    ScalaInternalAgent
  44. val requestHandler: ActorRef
    Attributes
    protected
    Definition Classes
    ScalaInternalAgentTemplateScalaInternalAgent
  45. final def respond(msg: Any): Unit
    Definition Classes
    ScalaInternalAgent
  46. final def respondFuture(msgFuture: Future[Any]): Unit
    Definition Classes
    ScalaInternalAgent
  47. val rnd: Random
  48. implicit final val self: ActorRef
    Definition Classes
    Actor
  49. final def sender(): ActorRef
    Definition Classes
    Actor
  50. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  51. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  52. def toString(): String
    Definition Classes
    AnyRef → Any
  53. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  54. def update(): Unit
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  58. final def writeToDB(write: WriteRequest): Future[ResponseRequest]
    Definition Classes
    ScalaInternalAgent
  59. final def writeToNode(write: WriteRequest): Future[ResponseRequest]
    Definition Classes
    ScalaInternalAgent
  60. def [B](y: B): (ODFAgent, B)
    Implicit
    This member is added by an implicit conversion from ODFAgent to ArrowAssoc[ODFAgent] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from ScalaInternalAgent

Inherited from ActorLogging

Inherited from InternalAgent

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ODFAgent to any2stringadd[ODFAgent]

Inherited by implicit conversion StringFormat from ODFAgent to StringFormat[ODFAgent]

Inherited by implicit conversion Ensuring from ODFAgent to Ensuring[ODFAgent]

Inherited by implicit conversion ArrowAssoc from ODFAgent to ArrowAssoc[ODFAgent]

Ungrouped