DeltaDissemination

replication.DeltaDissemination
See theDeltaDissemination companion object
class DeltaDissemination[State](val replicaId: LocalUid, receiveCallback: State => Unit, crypto: Option[Aead], immediateForward: Boolean, sendingActor: ExecutionContext, val globalAbort: Abort, val deltaStorage: DeltaStorage[State])(using x$8: JsonValueCodec[State])

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Types

type ConnectionContext = Connection[Message]

Value members

Concrete methods

def addBinaryConnection(latentConnection: LatentConnection[MessageBuffer]): Unit
def addObjectConnection(latentConnection: LatentConnection[ProtocolMessage[State]]): Unit
def applyDelta(delta: State): Unit
def cachedMessages(conn: LatentConnection[MessageBuffer]): LatentConnection[CachedMessage[ProtocolMessage[State]]]
def debugCallbackAndRemoveCon(con: ConnectionContext): Callback[Any]
def disseminate(payload: Message, except: Set[ConnectionContext]): Unit
def handleMessage(msg: Message, from: ConnectionContext): Unit
def pingAll(): Unit
def prepareBinaryConnection(latentConnection: LatentConnection[MessageBuffer]): Async[Any, Unit]

prepare a connection that serializes to some binary format. Primary means of network communication. Adds a serialization and caching layer

prepare a connection that serializes to some binary format. Primary means of network communication. Adds a serialization and caching layer

Attributes

def prepareLatentConnection(latentConnection: LatentConnection[Message]): Async[Any, Unit]
def prepareObjectConnection(latentConnection: LatentConnection[ProtocolMessage[State]]): Async[Any, Unit]

prepare a connection that passes objects around somewhere in memory. For in prozess communication or custom serialization.

prepare a connection that passes objects around somewhere in memory. For in prozess communication or custom serialization.

Attributes

def requestData(): Unit
def selfContext: Dots
def send(con: ConnectionContext, payload: Message): Unit
def updateContext(rr: Uid, dots: Dots): Unit

Concrete fields

val globalAbort: Abort
val lock: AnyRef
val printExceptionHandler: Callback[Any]
val replicaId: LocalUid

Givens

Givens

given given_LocalUid: LocalUid