kvision / pl.treksoft.kvision.remote / SpringRemoteAgent

SpringRemoteAgent

open class SpringRemoteAgent<T : Any> : RemoteAgent

Client side agent for JSON-RPC remote calls with Spring Boot.

Constructors

<init>

SpringRemoteAgent(serviceManager: SpringServiceManager<T>)

Client side agent for JSON-RPC remote calls with Spring Boot.

Properties

callAgent

val callAgent: CallAgent

serviceManager

val serviceManager: SpringServiceManager<T>

Functions

call

fun <RET : Any, T> call(function: T.() -> Deferred<RET>): Deferred<RET>
fun <RET : Any, T> call(function: T.() -> Deferred<List<RET>>): Deferred<List<RET>>
fun <PAR, RET : Any, T> call(function: T.(PAR) -> Deferred<RET>, p: PAR): Deferred<RET>
fun <PAR, RET : Any, T> call(function: T.(PAR) -> Deferred<List<RET>>, p: PAR): Deferred<List<RET>>
fun <PAR1, PAR2, RET : Any, T> call(function: T.(PAR1, PAR2) -> Deferred<RET>, p1: PAR1, p2: PAR2): Deferred<RET>
fun <PAR1, PAR2, RET : Any, T> call(function: T.(PAR1, PAR2) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2): Deferred<List<RET>>
fun <PAR1, PAR2, PAR3, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3): Deferred<RET>
fun <PAR1, PAR2, PAR3, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3): Deferred<List<RET>>
fun <PAR1, PAR2, PAR3, PAR4, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, PAR4) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): Deferred<RET>
fun <PAR1, PAR2, PAR3, PAR4, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, PAR4) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): Deferred<List<RET>>
fun <PAR1, PAR2, PAR3, PAR4, PAR5, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): Deferred<RET>
fun <PAR1, PAR2, PAR3, PAR4, PAR5, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): Deferred<List<RET>>

Executes defined call to a remote web service.