Changed

final case class Changed[A <: ReplicatedData](key: Key[A])(data: A) extends SubscribeResponse[A] with ReplicatorMessage

The data value is retrieved with get using the typed key.

See also:
Source:
Replicator.scala
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def dataValue: A

The data value. Use get to get the fully typed value.

The data value. Use get to get the fully typed value.

Source:
Replicator.scala
def get[T <: ReplicatedData](key: Key[T]): T

The data value, with correct type. Scala pattern matching cannot infer the type from the key parameter.

The data value, with correct type. Scala pattern matching cannot infer the type from the key parameter.

Source:
Replicator.scala

Inherited methods

Inherited from:
Product