ProtocolMessage

replication.ProtocolMessage
See theProtocolMessage companion trait

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class Payload[+T](senders: Set[Uid], dots: Dots, data: T) extends ProtocolMessage[T]

Guarantees that for two payloads a and b, that if a.dots <= b.dots, then a.data <= b.data according to the lattice of T

Guarantees that for two payloads a and b, that if a.dots <= b.dots, then a.data <= b.data according to the lattice of T

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait ProtocolMessage[T]
class Object
trait Matchable
class Any
Show all
object Payload

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Payload.type
case class Ping(time: Long) extends ProtocolMessage[Nothing]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ProtocolMessage[Nothing]
class Object
trait Matchable
class Any
Show all
case class Pong(time: Long) extends ProtocolMessage[Nothing]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ProtocolMessage[Nothing]
class Object
trait Matchable
class Any
Show all
case class Request(sender: Uid, knows: Dots) extends ProtocolMessage[Nothing]

knows has to be a subset of the dots known at the sender. The sender of the request should then eventually receive all known missing dots.

knows has to be a subset of the dots known at the sender. The sender of the request should then eventually receive all known missing dots.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ProtocolMessage[Nothing]
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror