Class/Object

gopher

GopherAPI

Related Docs: object GopherAPI | package gopher

Permalink

class GopherAPI extends AnyRef

Api for providing access to channel and selector interfaces.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GopherAPI
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GopherAPI(as: ActorSystem, es: ExecutionContext)

    Permalink

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 actorSystem: ActorSystem

    Permalink

    actor system which was passed during creation

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def config: Config

    Permalink

    the configuration of the gopher system.

    the configuration of the gopher system. By default is contained under 'gopher' key in top-level config.

  8. def currentFlow: CurrentFlowTermination.type

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def executionContext: ExecutionContext

    Permalink

    execution context used for managing calculation steps in channels engine.

  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def futureInput[A](future: Future[A]): FutureInput[A]

    Permalink

    Represent Scala future as channel from which we can read one value.

    Represent Scala future as channel from which we can read one value.

    See also

    gopher.channels.FutureInput

  14. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  17. def iterableInput[A](iterable: Iterable[A]): Input[A]

    Permalink

    Represent Scala collection as channel, where all values can be readed in order of iteration.

  18. def makeChannel[A](capacity: Int = 1): IOChannel[A]

    Permalink

    obtain channel

    obtain channel

    val channel = gopherApi.makeChannel[Int]()
    channel.awrite(1 to 100)
  19. macro def makeTransputer[T <: Transputer]: T

    Permalink
  20. macro def makeTransputer[T <: Transputer](recoveryPolicy: PartialFunction[Throwable, Directive]): T

    Permalink
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. macro def replicate[T <: Transputer](n: Int): Transputer

    Permalink

    create transputet which contains n instances of X where ports are connected to the appropriate ports of each instance in paraller.

    create transputet which contains n instances of X where ports are connected to the appropriate ports of each instance in paraller.

    val persistStep = replicate[PersistTransputer](nDBConnections)
  25. def select: SelectFactory

    Permalink

    obtain select factory

    obtain select factory

    goopherApi.select.once[String] {
      case x: a.read => s"${x} from A"
      case x: b.read => s"${x} from B"
      case _ => "IDLE"
    }
  26. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped