Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
e

JoinSucceeded

enum JoinSucceeded(lifecycle: ConnectedLifecycleContext, target: LifecycleJoinTarget, attempt: LifecycleJoinAttempt, durationNanos: Long) extends LifecycleEvent

Scalive accepted a join and started the connected lifecycle of a LiveView.

Parameters

lifecycle

The connected lifecycle that the join started.

target

Whether the join targeted a root or nested LiveView.

attempt

The join counters reported by the client.

durationNanos

The time from receiving the join until the lifecycle started, in nanoseconds.

Defined by scalive.LifecycleEvent.JoinSucceeded. View source (scalive/api/src/scalive/LifecycleObserver.scala:344-348)

Values4

attempt

val attempt: LifecycleJoinAttempt

The join counters reported by the client.

Defined by scalive.LifecycleEvent.JoinSucceeded.attempt. View source (scalive/api/src/scalive/LifecycleObserver.scala:347-347)

durationNanos

val durationNanos: Long

The time from receiving the join until the lifecycle started, in nanoseconds.

Defined by scalive.LifecycleEvent.JoinSucceeded.durationNanos. View source (scalive/api/src/scalive/LifecycleObserver.scala:348-348)

lifecycle

val lifecycle: ConnectedLifecycleContext

The connected lifecycle that the join started.

Defined by scalive.LifecycleEvent.JoinSucceeded.lifecycle. View source (scalive/api/src/scalive/LifecycleObserver.scala:345-345)

target

val target: LifecycleJoinTarget

Whether the join targeted a root or nested LiveView.

Defined by scalive.LifecycleEvent.JoinSucceeded.target. View source (scalive/api/src/scalive/LifecycleObserver.scala:346-346)