gopher

Transputer

trait Transputer extends AnyRef

Reusable unit of application structure, which consists from set of input ports, set of output ports and behaviour

Transputers can be created as elementary behaviour, descibed by select statement and then can be combined into larger structures

Transputers can be recovered from execeptions (i.e. transputer can be restarted or resume execution) or escalated to parent transputers or root superviser.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Transputer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class InPort[A] extends Input[A]

  2. class OutPort[A] extends Output[A]

Abstract Value Members

  1. abstract def api: GopherAPI

  2. abstract def goOnce: Future[Unit]

  3. abstract def recoverFactory: () ⇒ Transputer

    Used for recover failed instances

Concrete Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def +(p: Transputer): ParTransputer

  4. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  5. object InPort

  6. object OutPort

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def copyPorts(prev: Transputer): Unit

  10. def copyState(prev: Transputer): Unit

    copyState from previous instance when transputer is restarted.

    copyState from previous instance when transputer is restarted. can be overriden in subclasses (by default: do nothing)

    Note, that port connection is restored before call of copyState

  11. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. implicit def logSource: LogSource[Transputer]

  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def onEscalatedFailure(ex: Throwable): Unit

    called when failure is escalated.

    called when failure is escalated.

    Attributes
    protected
  22. def onResume(): Unit

    called when transducer is choose resume durign recovery.

    called when transducer is choose resume durign recovery.

    Attributes
    protected
  23. def onStop(): Unit

    called when transputer is stopped.

    called when transputer is stopped.

    Attributes
    protected
  24. def recover(f: PartialFunction[Throwable, Directive]): Unit

    set recover function

  25. def start(): Future[Unit]

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped