rd-framework / com.jetbrains.rd.framework.impl

Package com.jetbrains.rd.framework.impl

Types

CallSiteWiredRdTask

class CallSiteWiredRdTask<TReq, TRes> : WiredRdTask<TReq, TRes>

EndpointWiredRdTask

class EndpointWiredRdTask<TReq, TRes> : WiredRdTask<TReq, TRes>

InternId

class InternId

An ID representing an interned value

InternRoot

class InternRoot<TBase : Any> : IInternRoot<TBase>

InternScheduler

class InternScheduler

ProtocolContexts

class ProtocolContexts : RdReactiveBase

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

RdCall

class RdCall<TReq, TRes> : RdReactiveBase, IRdCall<TReq, TRes>, IRdEndpoint<TReq, TRes>

RdList

class RdList<V : Any> : RdReactiveBase

RdMap

class RdMap<K : Any, V : Any> : RdReactiveBase

RdOptionalProperty

class RdOptionalProperty<T : Any> : RdPropertyBase<T>

RdPerContextMap

class RdPerContextMap<K : Any, V : RdBindableBase> : RdReactiveBase, IPerContextMap<K, V>

RdProperty

class RdProperty<T> : RdPropertyBase<T>

RdPropertyBase

abstract class RdPropertyBase<T> : RdReactiveBase

RdSecureString

class RdSecureString

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

RdSet

class RdSet<T : Any> : RdReactiveBase

RdSignal

class RdSignal<T> : RdReactiveBase

RdTask

open class RdTask<T> : IRdTask<T>

RpcTimeouts

class RpcTimeouts

WiredRdTask

abstract class WiredRdTask<TReq, TRes> : RdTask<TRes>, IRdWireable

Type Aliases

RdEndpoint

typealias RdEndpoint<TReq, TRes> = RdCall<TReq, TRes>

Functions

readInternId

fun AbstractBuffer.readInternId(): InternId

startAndAdviseSuccess

fun <TReq, TRes> IRdCall<TReq, TRes>.startAndAdviseSuccess(request: TReq, onSuccess: (TRes) -> Unit): Unit
fun <TReq, TRes> IRdCall<TReq, TRes>.startAndAdviseSuccess(lifetime: <ERROR CLASS>, request: TReq, onSuccess: (TRes) -> Unit): Unit

writeInternId

fun AbstractBuffer.writeInternId(id: InternId): Unit