Packages

t

ru.primetalk.synapse.core.ext

AuxNumberingExt

trait AuxNumberingExt extends ContactStyleExt

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AuxNumberingExt
  2. ContactStyleExt
  3. SystemBuilderApi
  4. ExceptionHandlingExt
  5. TrellisApi
  6. SignalsApi
  7. ContactsDsl
  8. ComponentsApi
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class ContactExtractor [T] extends AnyRef

    Extractor of contacts' data from result.

    Extractor of contacts' data from result.

    Definition Classes
    SignalsApi
  2. implicit class RichSignalList extends AnyRef
    Definition Classes
    SignalsApi
  3. case class SubsystemDirectSignal [T](subsystemName: String, signal: SignalsApi.Signal[T]) extends SubsystemDirectSignal0 with Product with Serializable

    An encapsulation of the signal that targets a subsystem's internal contact.

    An encapsulation of the signal that targets a subsystem's internal contact.

    Definition Classes
    SignalsApi
  4. sealed trait SubsystemDirectSignal0 extends AnyRef
    Definition Classes
    SignalsApi
  5. case class SubsystemDirectSignalDist (subsystemName: String, signal: SignalsApi.SignalDist) extends SubsystemDirectSignal0 with Product with Serializable
    Definition Classes
    SignalsApi
  6. class AuxContactNumberingExt extends SystemBuilderExtension
  7. type Component = components.Component
    Definition Classes
    ComponentsApi
  8. type ComponentWithInternalStructure = components.ComponentWithInternalStructure
    Definition Classes
    ComponentsApi
  9. type Contact[T] = components.Contact[T]
    Definition Classes
    ComponentsApi
  10. type Context = Map[Contact[_], _]

    The context for system is a map from state handles to values.

    The context for system is a map from state handles to values.

    Definition Classes
    TrellisApi
  11. type FlatMapLink[-T1, +T2] = components.FlatMapLink[T1, T2]
    Definition Classes
    ComponentsApi
  12. type Link[T1, T2, -TL1 >: T1, +TL2 <: T2] = components.Link[T1, T2, TL1, TL2]
    Definition Classes
    ComponentsApi
  13. type LinkInfo[-T1, +T2] = components.LinkInfo[T1, T2]
    Definition Classes
    ComponentsApi
  14. type Named = components.Named
    Definition Classes
    ComponentsApi
  15. type NopLink[-T1, +T2 >: T1] = components.NopLink[T1, T2]
    Definition Classes
    ComponentsApi
  16. type RedMapLink[-T1, +T2] = components.RedMapLink[T1, T2]
    Definition Classes
    ComponentsApi
  17. type Signal[T] = components.Signal[T]
    Definition Classes
    ComponentsApi
  18. type SignalCollection[+T] = Iterable[T]
    Definition Classes
    ComponentsApi
  19. type SignalDist = components.SignalDist
    Definition Classes
    ComponentsApi
  20. type SimpleSignalProcessor = (Signal[_]) ⇒ SignalCollection[Signal[_]]

    The simplest signal processor.

    The simplest signal processor. Corresponds to FlatMap.

    Definition Classes
    TrellisApi
  21. type StateHandle[T] = components.StateHandle[T]
    Definition Classes
    ComponentsApi
  22. type StateZipLink[S, -T1, +T2 >: T1] = components.StateZipLink[S, T1, T2]
    Definition Classes
    ComponentsApi
  23. type StatefulFlatMapLink[S, -T1, +T2] = components.StatefulFlatMapLink[S, T1, T2]
    Definition Classes
    ComponentsApi
  24. type StaticSystem = components.StaticSystem
    Definition Classes
    ComponentsApi
  25. type StaticSystemExtensionId[+T] = components.StaticSystemExtensionId[T]
    Definition Classes
    ComponentsApi
  26. type TotalTrellisProducer = (Context, Signal[_]) ⇒ TrellisElement

    A function that takes a single signal on input and returns the last trellis element.

    A function that takes a single signal on input and returns the last trellis element. This producer does not store managed state in it.

    Definition Classes
    TrellisApi
  27. type TrellisElement = (Context, SignalCollection[Signal[_]])

    A snapshot of a running system at some discrete time moment.

    A snapshot of a running system at some discrete time moment.

    Definition Classes
    TrellisApi
  28. type TrellisProducer = (TrellisElement) ⇒ TrellisElement

    A function that makes single step (or a few steps) over time.

    A function that makes single step (or a few steps) over time.

    Definition Classes
    TrellisApi
  29. type UnhandledProcessingExceptionHandler = (Throwable, String, Signal[_], Context) ⇒ Context

    The type of a handler that will handle exceptions during signal processing.

    The type of a handler that will handle exceptions during signal processing. If the exception is recoverable, then the handler should provide a new Context for further processing. If not recoverable - throw some exception (or rethrow the original one).

    Definition Classes
    ExceptionHandlingExt
  30. type WithStaticSystem = components.WithStaticSystem
    Definition Classes
    ComponentsApi
  31. trait ContactStyle extends AnyRef
    Definition Classes
    ContactStyleExt
  32. class ContactStyleExtension extends SystemBuilderExtension
    Definition Classes
    ContactStyleExt
  33. case class ContactStyleStaticExtension (styles: Map[ContactStyleExt.Contact[_], ContactStyle]) extends Product with Serializable
    Definition Classes
    ContactStyleExt
  34. implicit class StyleableContact [T] extends AnyRef
    Definition Classes
    ContactStyleExt
  35. implicit class StaticSystemWithUnhandledExceptionHandler extends AnyRef
    Definition Classes
    ExceptionHandlingExt
  36. trait OuterInterfaceBuilder extends AnyRef

    An interface of some object that can collect information about outer interface of a system.

    An interface of some object that can collect information about outer interface of a system. Not only it create contact instances, but it usually transforms and collect them.

    Definition Classes
    SystemBuilderApi
  37. trait SystemBuilder extends OuterInterfaceBuilder with WithStaticSystem

    DSL for constructing systems.

    DSL for constructing systems.

    This builder supports step-by-step creation of contact system. At the end one must convert it to StaticSystem.

    The builder supports the notion of extensions (much like akka actor system extensions). When we need to store additional information during system construction, we may request an extention instance from the builder. The builder creates the singleton instance if it is not available yet and returns it.

    The builder is used in BaseTypedSystem as a DSL for system's construction.

    Definition Classes
    SystemBuilderApi
  38. class SystemBuilderC extends SystemBuilder
    Definition Classes
    SystemBuilderApi
  39. trait SystemBuilderExtension extends AnyRef

    An extension that adds some additional state to SystemBuilder.

    An extension that adds some additional state to SystemBuilder. It also has an opportunity to adjust the generated StaticSystem via hook #postProcess

    Definition Classes
    SystemBuilderApi
  40. final class SystemBuilderExtensionId [T <: SystemBuilderExtension] extends AnyRef

    ExtensionId for a system builder.

    ExtensionId for a system builder. Every extension can be installed only once on the same SystemBuilder. An instance of the extension is created by the extend method.

    Definition Classes
    SystemBuilderApi
  41. implicit class RichSimpleSignalProcessor extends AnyRef
    Definition Classes
    TrellisApi
  42. implicit class RichTotalTrellisProducer extends AnyRef
    Definition Classes
    TrellisApi

Value Members

  1. object SubsystemDirectSignal0
    Definition Classes
    SignalsApi
  2. object SubsystemSpecialAnswerContact extends Contact[SubsystemDirectSignal0]

    This contact is used to process answers of internal system.

    This contact is used to process answers of internal system.

    Definition Classes
    SignalsApi
  3. object SubsystemSpecialContact extends Contact[SubsystemDirectSignal0]

    This contact is used to process signals of internal system.

    This contact is used to process signals of internal system.

    In asynchronous execution the resulting signal should come at the same level of "call stack". However as far as we usually get the signal asynchronously it is processed at top level. So in order to run it in inside the subsystem, we package asynchronous result into Signal(SubsystemSpecialContact, SubsystemDirectSignal( name, actual resulting signal))

    Definition Classes
    SignalsApi
  4. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def ##(): Int
    Definition Classes
    AnyRef → Any
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. implicit val AuxContactNumberingExtId: SystemBuilderExtensionId[AuxContactNumberingExt]
  8. val Contact: components.Contact.type
    Definition Classes
    ComponentsApi
  9. implicit val ContactStyleExtId: SystemBuilderExtensionId[ContactStyleExtension]
    Definition Classes
    ContactStyleExt
  10. val FlatMapLink: components.FlatMapLink.type
    Definition Classes
    ComponentsApi
  11. val Link: components.Link.type
    Definition Classes
    ComponentsApi
  12. val NopLink: components.NopLink.type
    Definition Classes
    ComponentsApi
  13. val RedMapLink: components.RedMapLink.type
    Definition Classes
    ComponentsApi
  14. val Signal: components.Signal.type
    Definition Classes
    ComponentsApi
  15. val SignalCollection: Iterable.type
    Definition Classes
    ComponentsApi
  16. val SignalDist: components.SignalDist.type
    Definition Classes
    ComponentsApi
  17. val StateHandle: components.StateHandle.type
    Definition Classes
    ComponentsApi
  18. val StateZipLink: components.StateZipLink.type
    Definition Classes
    ComponentsApi
  19. val StatefulFlatMapLink: components.StatefulFlatMapLink.type
    Definition Classes
    ComponentsApi
  20. val StaticSystem: components.StaticSystem.type
    Definition Classes
    ComponentsApi
  21. val WithStaticSystem: components.WithStaticSystem.type
    Definition Classes
    ComponentsApi
  22. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  23. def auxContact[T](implicit sb: SystemBuilder): Contact[T]
  24. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def contact[T](name: String): components.Contact[T]

    Create a contact with the given name.

    Create a contact with the given name.

    Definition Classes
    ContactsDsl
  26. val defaultUnhandledExceptionHandler: UnhandledProcessingExceptionHandler
    Definition Classes
    ExceptionHandlingExt
  27. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  29. def extension[T <: SystemBuilderExtension](implicit sb: SystemBuilder, extensionInstance: SystemBuilderExtensionId[T]): T

    Usage: extension[LabellingExt].methodInExtension

    Usage: extension[LabellingExt].methodInExtension

    Definition Classes
    SystemBuilderApi
  30. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  33. implicit def implicitExtendBasicSystemBuilder[T <: SystemBuilderExtension](sb: SystemBuilder)(implicit extensionInstanceId: SystemBuilderExtensionId[T]): T

    Automatic usage of extensions when an implicit extension id is present in the scope.

    Automatic usage of extensions when an implicit extension id is present in the scope.

    Definition Classes
    SystemBuilderApi
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  38. implicit def pairToSignal[T](p: (Contact[T], T)): Signal[T]

    One may use notation (contact -> data) to represent a signal

    One may use notation (contact -> data) to represent a signal

    Definition Classes
    SignalsApi
  39. val rethrowUnhandledExceptionHandler: UnhandledProcessingExceptionHandler
    Definition Classes
    ExceptionHandlingExt
  40. implicit def sbToAux(sb: SystemBuilder): AuxContactNumberingExt
  41. def setSystemName(name: String)(implicit sb: SystemBuilder): Unit
    Definition Classes
    SystemBuilderApi
  42. def state[T](name: String, s0: T)(implicit sb: SystemBuilder): StateHandle[T]
    Definition Classes
    SystemBuilderApi
  43. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  44. def toString(): String
    Definition Classes
    AnyRef → Any
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. object AuxiliaryContact extends ContactStyle with Product with Serializable
  49. implicit object ContactStyleStaticExtId extends StaticSystemExtensionId[ContactStyleStaticExtension]
    Definition Classes
    ContactStyleExt
  50. object NormalContact extends ContactStyle with Product with Serializable

    Default style for contact.

    Default style for contact.

    Definition Classes
    ContactStyleExt
  51. implicit object UnhandledExceptionHandlerExtensionId extends StaticSystemExtensionId[UnhandledProcessingExceptionHandler]
    Definition Classes
    ExceptionHandlingExt

Inherited from ContactStyleExt

Inherited from SystemBuilderApi

Inherited from ExceptionHandlingExt

Inherited from TrellisApi

Inherited from SignalsApi

Inherited from ContactsDsl

Inherited from ComponentsApi

Inherited from AnyRef

Inherited from Any

Ungrouped