Class

korolev.internal

ComponentInstance

Related Doc: package internal

Permalink

final class ComponentInstance[F[_], AS, M, CS, P, E] extends AnyRef

Component state holder and effects performer

Performing cycle:

1. prepare() 2. Optionally setState() 3. applyRenderContext() 4. dropObsoleteMisc()

Self Type
ComponentInstance[F, AS, M, CS, P, E]
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ComponentInstance
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ComponentInstance(nodeId: Id, sessionId: QualifiedSessionId, frontend: ClientSideApi[F], eventRegistry: EventRegistry[F], stateManager: StateManager[F], getRenderNum: () ⇒ Int, component: Component[F, CS, P, E], reporter: Reporter)(implicit arg0: Async[F], arg1: Scheduler[F], arg2: StateSerializer[AS], arg3: StateDeserializer[AS], arg4: StateSerializer[CS], arg5: StateDeserializer[CS])

    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 applyEvent(eventId: EventId): Boolean

    Permalink
  5. def applyRenderContext(parameters: P, rc: StatefulRenderContext[Effect[F, AS, M]], snapshot: Snapshot): Unit

    Permalink
  6. def applyTransition(transition: Transition[CS]): F[Unit]

    Permalink
  7. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val component: Component[F, CS, P, E]

    Permalink
  10. def dropObsoleteMisc(): Unit

    Permalink

    Remove all delays and nested component instances which were not marked during applying render context.

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def handleFormDataProgress(descriptor: String, loaded: Int, total: Int): Unit

    Permalink
  16. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def resolveFile(descriptor: String, files: List[File[LazyBytes[F]]]): Unit

    Permalink
  22. def resolveFormData(descriptor: String, formData: Try[FormData]): Unit

    Permalink
  23. def setEventsSubscription(callback: Function1[E, _]): Unit

    Permalink

    Subscribes to component instance events.

    Subscribes to component instance events. Callback will be invoked on call of access.publish() in the component instance context.

  24. def subscribeStateChange(callback: (Id, Any) ⇒ Unit): () ⇒ Unit

    Permalink

    Subscribe to component instance state changes.

    Subscribe to component instance state changes. Callback will be invoked for every state change.

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped