class RdSet<T : Any> : RdReactiveBase
RdSet(valueSerializer: ISerializer<T> = Polymorphic<T>())RdSet(valueSerializer: ISerializer<T>, set: <ERROR CLASS><T>) |
var optimizeNested: Boolean |
|
val valueSerializer: ISerializer<T> |
open var async: Boolean
If set to true, local changes to this object can be performed on any thread. Otherwise, local changes can be performed only on the UI thread. |
|
val defaultScheduler: <ERROR CLASS> |
|
var isLocalChange: Boolean |
|
var master: Boolean |
|
val serializers: ISerializers |
|
val wire: IWire |
|
open val wireScheduler: <ERROR CLASS>
Scheduler on which wire invokes callback onWireReceived. Default is the same as protocol's one. |
fun add(element: T): Boolean |
|
fun addAll(elements: Collection<T>): Boolean |
|
fun advise(lifetime: <ERROR CLASS>, handler: (<ERROR CLASS><T>) -> Unit): Unit |
|
fun clear(): <ERROR CLASS> |
|
fun deepClone(): IRdBindable |
|
fun init(lifetime: <ERROR CLASS>): Unit |
|
fun iterator(): MutableIterator<T> |
|
fun onWireReceived(buffer: AbstractBuffer): Unit
Callback that wire triggers when it receives messaged |
|
fun print(printer: <ERROR CLASS>): Unit |
|
fun remove(element: T): Boolean |
|
fun removeAll(elements: Collection<T>): Boolean |
|
fun retainAll(elements: Collection<T>): Boolean |
fun assertBound(): Unit |
|
fun assertThreading(): Unit |
fun <T : Any> read(ctx: SerializationCtx, stream: AbstractBuffer, valueSerializer: ISerializer<T>): RdSet<T> |
|
fun <T : Any> write(ctx: SerializationCtx, stream: AbstractBuffer, value: RdSet<T>): Unit |
fun <T : IRdBindable?> T.bind(lf: <ERROR CLASS>, parent: IRdDynamic, name: String): Unit? |
|
fun <T> T.deepClonePolymorphic(): T |
|
fun <T : IRdBindable?> T.identify(identities: IIdentities, ids: RdId): Unit? |
|
fun <T : RdBindableBase> T.static(id: Int): T |
|
fun <T : RdBindableBase> T.withId(id: RdId): T |
|
fun <T : RdBindableBase> T.withIdFromName(name: String): T |