GetSuccess

final case class GetSuccess[A <: ReplicatedData](key: Key[A], request: Option[Any])(data: A) extends GetResponse[A] with ReplicatorMessage

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

Source:
Replicator.scala
trait Product
trait Equals
trait Serializable
class GetResponse[A]
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

def getRequest: Optional[Any]

Java API

Java API

Inherited from:
GetResponse
Source:
Replicator.scala
Inherited from:
Product