Protocol Contexts
This class handles RdContext on protocol level. It tracks existing contexts and allows access to their value sets (when present)
Properties
Functions
Link copied to clipboard
Creates a clone of this IRdBindable not bound to any protocol
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Assigns IDs to this node and its child nodes in the graph.
Link copied to clipboard
Callback that wire triggers when it receives messaged
open override fun onWireReceived(proto: IProtocol, buffer: AbstractBuffer, ctx: SerializationCtx, dispatchHelper: IRdWireableDispatchHelper)
Link copied to clipboard
Registers a context to be used with this protocol. Must be invoked on protocol's scheduler
Link copied to clipboard
fun synchronizeWith(lifetime: Lifetime, otherBindable: RdBindableBase, accepts: (Any?) -> Boolean = { true })
Link copied to clipboard
Writes the current context values to the given buffer