Package com.jetbrains.rd.framework.impl

Types

Link copied to clipboard
class CallSiteWiredRdTask<TReq, TRes>(    outerLifetime: Lifetime,     call: RdCall<TReq, TRes>,     rdid: RdId,     wireScheduler: IScheduler) : WiredRdTask<TReq, TRes>
Link copied to clipboard
class EndpointWiredRdTask<TReq, TRes>(    bindLifetime: Lifetime,     call: RdCall<TReq, TRes>,     rdid: RdId,     wireScheduler: IScheduler) : WiredRdTask<TReq, TRes>
Link copied to clipboard
inline class InternId(val value: Int)

An ID representing an interned value

Link copied to clipboard
class InternRoot<TBase : Any>(val serializer: ISerializer<TBase> = Polymorphic()) : IInternRoot<TBase>
Link copied to clipboard
class InternScheduler : IScheduler
Link copied to clipboard
class ProtocolContexts(val serializationCtx: SerializationCtx) : RdReactiveBase

This class handles RdContext on protocol level. It tracks existing contexts and allows access to their value sets (when present)

Link copied to clipboard
class RdCall<TReq, TRes>(requestSzr: ISerializer<TReq> = Polymorphic<TReq>(), responseSzr: ISerializer<TRes> = Polymorphic<TRes>()) : RdReactiveBase, IRdCall<TReq, TRes> , IRdEndpoint<TReq, TRes>
Link copied to clipboard
typealias RdEndpoint<TReq, TRes> = RdCall<TReq, TRes>
Link copied to clipboard
class RdList<V : Any> : RdReactiveBase, IMutableViewableList<V>
Link copied to clipboard
class RdMap<K : Any, V : Any> : RdReactiveBase, IAsyncViewableMap<K, V> , IMutableViewableMap<K, V>
Link copied to clipboard
class RdOptionalProperty<T : Any>(valueSerializer: ISerializer<T> = Polymorphic()) : RdPropertyBase<T> , IOptProperty<T>
Link copied to clipboard
class RdPerContextMap<K : Any, V : RdBindableBase> : RdReactiveBase, IPerContextMap<K, V> , IViewableMap<K, V>
Link copied to clipboard
class RdProperty<T>(defaultValue: T, valueSerializer: ISerializer<T> = Polymorphic()) : RdPropertyBase<T> , IProperty<T>
Link copied to clipboard
abstract class RdPropertyBase<T>(val valueSerializer: ISerializer<T>) : RdReactiveBase, IMutablePropertyBase<T>
Link copied to clipboard
class RdSecureString(val contents: String)

This is a temporary stub for proper secure strings in protocol Unlike a normal string, it won't be stored in logs or any other string representations of protocol entities

Link copied to clipboard
class RdSet<T : Any>(val valueSerializer: ISerializer<T>, set: ViewableSet<T>) : RdReactiveBase, IMutableViewableSet<T>
Link copied to clipboard
class RdSignal<T>(val valueSerializer: ISerializer<T> = Polymorphic<T>()) : RdReactiveBase, IAsyncSignal<T>
Link copied to clipboard
open class RdTask<T> : IRdTask<T>
Link copied to clipboard
class RpcTimeouts(val warnAwaitTimeMs: Long, val errorAwaitTimeMs: Long)
Link copied to clipboard
abstract class WiredRdTask<TReq, TRes>(    val call: RdCall<TReq, TRes>,     val rdid: RdId,     val wireScheduler: IScheduler) : RdTask<TRes> , IRdWireable

Functions

Link copied to clipboard
fun AbstractBuffer.readInternId(): InternId
Link copied to clipboard
fun <TReq, TRes> IRdCall<TReq, TRes>.startAndAdviseSuccess(request: TReq, onSuccess: (TRes) -> Unit)
fun <TReq, TRes> IRdCall<TReq, TRes>.startAndAdviseSuccess(    lifetime: Lifetime,     request: TReq,     onSuccess: (TRes) -> Unit)
Link copied to clipboard
fun AbstractBuffer.writeInternId(id: InternId)