open class KVRemoteAgent<T : Any> : RemoteAgent
Client side agent for JSON-RPC remote calls.
KVRemoteAgent(serviceManager: KVServiceManager<T>)
Client side agent for JSON-RPC remote calls. |
val callAgent: CallAgent |
|
val serviceManager: KVServiceManager<T> |
suspend fun <RET : Any, T> call(function: suspend T.() -> RET): RET suspend fun <RET : Any, T> call(function: suspend T.() -> List<RET>): List<RET> suspend fun <PAR, RET : Any, T> call(function: suspend T.(PAR) -> RET, p: PAR): RET suspend fun <PAR, RET : Any, T> call(function: suspend T.(PAR) -> List<RET>, p: PAR): List<RET> suspend fun <PAR1, PAR2, RET : Any, T> call(function: suspend T.(PAR1, PAR2) -> RET, p1: PAR1, p2: PAR2): RET suspend fun <PAR1, PAR2, RET : Any, T> call(function: suspend T.(PAR1, PAR2) -> List<RET>, p1: PAR1, p2: PAR2): List<RET> suspend fun <PAR1, PAR2, PAR3, RET : Any, T> call(function: suspend T.(PAR1, PAR2, PAR3) -> RET, p1: PAR1, p2: PAR2, p3: PAR3): RET suspend fun <PAR1, PAR2, PAR3, RET : Any, T> call(function: suspend T.(PAR1, PAR2, PAR3) -> List<RET>, p1: PAR1, p2: PAR2, p3: PAR3): List<RET> suspend fun <PAR1, PAR2, PAR3, PAR4, RET : Any, T> call(function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): RET suspend fun <PAR1, PAR2, PAR3, PAR4, RET : Any, T> call(function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> List<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): List<RET> suspend fun <PAR1, PAR2, PAR3, PAR4, PAR5, RET : Any, T> call(function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> RET, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): RET suspend fun <PAR1, PAR2, PAR3, PAR4, PAR5, RET : Any, T> call(function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> List<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): List<RET>
Executes defined call to a remote web service. |