replication

package replication

Members list

Type members

Classlikes

trait Aead

Attributes

Supertypes
class Object
trait Matchable
class Any
sealed trait BroadcastCommunication

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Hello
class Request
class Response

Attributes

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

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class DeltaDissemination[State](val replicaId: LocalUid, receiveCallback: State => Unit, crypto: Option[Aead], immediateForward: Boolean)

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
case class EncRDT[S](deltas: Set[Dotted[Secret]])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class FileConnection[T](path: Path)(using x$2: JsonValueCodec[ProtocolMessage[T]]) extends LatentConnection[ProtocolMessage[T]]

Attributes

Supertypes
trait LatentConnection[ProtocolMessage[T]]
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait ProtocolMessage[+T]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Payload[T]
class Ping
class Pong
class Request
object Storing

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Storing.type
class WebRTCConnectionView[S](val dataManager: DeltaDissemination[S])(using x$2: JsonValueCodec[S])

Attributes

Supertypes
class Object
trait Matchable
class Any
class WebRTCHandling(readyChannel: Option[Callback[SessionDescription]])

Attributes

Supertypes
class Object
trait Matchable
class Any

Types

type ByteArray = Array[Byte]
type Secret = String

Value members

Concrete methods

def errorReporter: Callback[Any]

Givens

Givens

given converterRead[T](using JsonValueCodec[T]): Conversion[MessageBuffer, T]
given converterWrite[T](using JsonValueCodec[T]): Conversion[T, MessageBuffer]
given encrdtLattice[S]: encrdtLattice[S]

Extensions

Extensions

extension [S](c: EncRDT[S])
def recombine(aead: Aead)(using DottedLattice[S], Conversion[Dots, ByteArray], Conversion[ByteArray, S]): Option[Dotted[S]]
def send(data: Dotted[S], aead: Aead)(using rid: LocalUid)(using Conversion[S, ByteArray], Conversion[Dots, ByteArray]): EncRDT[S]
def version: Dots