abstract class AbstractBuffer |
|
class AbstractPolymorphic<T> : ISerializer<T> |
|
open class DelegatedMarshaller<TFrom : Any, TTo : Any> : UniversalMarshaller<TTo> |
|
object FrameworkMarshallers |
|
interface IAbstractDeclaration<T> |
|
class Identities : IIdentities
Generates unique identifiers for objects in an object graph, supporting separate ID spaces for IDs assigned on the client and the server side of the protocol. |
|
enum class IdKind |
|
interface IIdentities
Generates unique identifiers for objects in an object graph. |
|
interface IInternRoot<TBase : Any> : IRdReactive
Interns values sent over protocol |
|
interface IMarshaller<T : Any> : ISerializer<T>
A serializer that can participate in polymorphic serialization. |
|
interface IProtocol : IRdDynamic
A root node in an object graph which can be synchronized with its remote copy over a network or a similar connection. |
|
interface IRdCall<in TReq, out TRes>
Represents an API provided by the remote process which can be invoked through the protocol. |
|
interface IRdDynamic
A node in a graph of entities that can be synchronized with its remote copy over a network or a similar connection. |
|
interface IRdEndpoint<TReq, TRes>
Counterpart of IRdCall. |
|
interface IRdTask<out T>
Represents a task that can be asynchronously executed. |
|
interface ISerializer<T>
Supports serializing and deserializing values of a specific type. |
|
interface ISerializers
A registry of known serializers. |
|
interface IUnknownInstance |
|
interface IWire
Sends and receives serialized object data over a network or a similar connection. |
|
interface IWireWithDelayedDelivery : IWire |
|
class MessageBroker |
|
object Polymorphic : ISerializer<Any?> |
|
class Protocol : IRdDynamic, IProtocol |
|
abstract class RdContext<T : Any>
Describes a context and provides access to value associated with this context. The associated value is thread-local and synchronized between send/advise pairs on IWire. The associated value will be the same in handler method in IWire.advise as it was in IWire.send. Instances of this class with the same key will share the associated value. Best practice is to declare contexts in toplevel entities in protocol model using Toplevel.context. Manual declaration is also possible. |
|
data class RdId
An identifier of the object that participates in the object graph. |
|
sealed class RdTaskResult<out T>
The result of asynchronously executing a task. |
|
class ReflectionMarshaller<T : Any> : IMarshaller<T> |
|
class SerializationCtx |
|
class Serializers : ISerializers |
|
class SocketWire |
|
open class UniversalMarshaller<T : Any> : IMarshaller<T> |
|
class UnsafeBuffer : AbstractBuffer, Closeable |
val <T> IRdTask<T>.isCanceled: Boolean |
|
val <T> IRdTask<T>.isFaulted: Boolean |
|
val <T> IRdTask<T>.isSucceeded: Boolean |
|
val IWire.serverPort: Int |
fun <T> ISerializer<T>.array(): ISerializer<Array<T>> |
|
fun createAbstractBuffer(): AbstractBufferfun createAbstractBuffer(bytes: ByteArray): AbstractBuffer |
|
fun createBackgroundScheduler(lifetime: <ERROR CLASS>, name: String): <ERROR CLASS> |
|
fun <T : Any> ISerializer<T>.interned(internKey: String): ISerializer<T> |
|
fun <T> ISerializer<T>.list(): ISerializer<List<T>> |
|
fun <T : Any> ISerializer<T>.nullable(): ISerializer<T?> |
|
fun <T> AbstractBuffer.readArray(inner: () -> T): Array<T> |
|
fun AbstractBuffer.readBool(): Boolean |
|
fun AbstractBuffer.readDateTime(): <ERROR CLASS> |
|
fun <T : Enum<T>> AbstractBuffer.readEnum(): T |
|
fun <T : Enum<T>> AbstractBuffer.readEnumSet(): <ERROR CLASS><T> |
|
fun AbstractBuffer.readGuid(): <ERROR CLASS> |
|
fun <T : Any> SerializationCtx.readInterned(stream: AbstractBuffer, internKey: String, readValueDelegate: (SerializationCtx, AbstractBuffer) -> T): T |
|
fun <T> AbstractBuffer.readList(inner: () -> T): List<T> |
|
fun <T : Any> AbstractBuffer.readNullable(inner: () -> T): T? |
|
fun AbstractBuffer.readRdId(): RdId |
|
fun AbstractBuffer.readSecureString(): RdSecureString |
|
fun AbstractBuffer.readUri(): <ERROR CLASS> |
|
fun AbstractBuffer.readUuid(): <ERROR CLASS> |
|
fun AbstractBuffer.readVoid(): Unit |
|
fun <T> IRdTask<T>.wait(timeoutMs: Long, pump: () -> Unit): Boolean |
|
fun SerializationCtx.withInternRootsHere(owner: RdBindableBase, vararg newRoots: String): SerializationCtx |
|
fun <T> AbstractBuffer.writeArray(value: Array<T>, elemWriter: (T) -> Unit): Unit |
|
fun AbstractBuffer.writeBool(value: Boolean): Unit |
|
fun AbstractBuffer.writeDateTime(value: <ERROR CLASS>): Unit |
|
fun <T : Enum<T>> AbstractBuffer.writeEnum(value: Enum<T>): Unit |
|
fun <T : Enum<T>> AbstractBuffer.writeEnumSet(set: <ERROR CLASS><T>): Unit |
|
fun AbstractBuffer.writeGuid(value: <ERROR CLASS>): Unit |
|
fun <T : Any> SerializationCtx.writeInterned(stream: AbstractBuffer, value: T, internKey: String, writeValueDelegate: (SerializationCtx, AbstractBuffer, T) -> Unit): Unit |
|
fun <T> AbstractBuffer.writeList(value: List<T>, elemWriter: (T) -> Unit): Unit |
|
fun <T : Any> AbstractBuffer.writeNullable(value: T?, elemWriter: (T) -> Unit): Unit |
|
fun AbstractBuffer.writeRdId(value: RdId): Unit |
|
fun AbstractBuffer.writeSecureString(string: RdSecureString): Unit |
|
fun AbstractBuffer.writeUri(value: <ERROR CLASS>): Unit |
|
fun AbstractBuffer.writeUuid(value: <ERROR CLASS>): Unit |
|
fun AbstractBuffer.writeVoid(void: Unit): Unit |