open class RemoteAgent<out T>
Client side agent for JSON-RPC remote calls.
RemoteAgent(serviceManager: ServiceManager<T>)
Client side agent for JSON-RPC remote calls. |
val callAgent: CallAgent |
|
val serviceManager: ServiceManager<T> |
fun <RET : Any, T> call(function: T.(Request?) -> Deferred<RET>): Deferred<RET> fun <RET : Any, T> call(function: T.(Request?) -> Deferred<List<RET>>): Deferred<List<RET>> fun <PAR, RET : Any, T> call(function: T.(PAR, Request?) -> Deferred<RET>, p: PAR, serializer: KSerializer<PAR>? = null): Deferred<RET> fun <PAR, RET : Any, T> call(function: T.(PAR, Request?) -> Deferred<List<RET>>, p: PAR, serializer: KSerializer<PAR>? = null): Deferred<List<RET>> fun <PAR1, PAR2, RET : Any, T> call(function: T.(PAR1, PAR2, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2, serializer1: KSerializer<PAR1>? = null, serializer2: KSerializer<PAR2>? = null): Deferred<RET> fun <PAR1, PAR2, RET : Any, T> call(function: T.(PAR1, PAR2, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, serializer1: KSerializer<PAR1>? = null, serializer2: KSerializer<PAR2>? = null): Deferred<List<RET>> fun <PAR1, PAR2, PAR3, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3, serializer1: KSerializer<PAR1>? = null, serializer2: KSerializer<PAR2>? = null, serializer3: KSerializer<PAR3>? = null): Deferred<RET> fun <PAR1, PAR2, PAR3, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3, serializer1: KSerializer<PAR1>? = null, serializer2: KSerializer<PAR2>? = null, serializer3: KSerializer<PAR3>? = null): Deferred<List<RET>> fun <PAR1, PAR2, PAR3, PAR4, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, PAR4, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, serializer1: KSerializer<PAR1>? = null, serializer2: KSerializer<PAR2>? = null, serializer3: KSerializer<PAR3>? = null, serializer4: KSerializer<PAR4>? = null): Deferred<RET> fun <PAR1, PAR2, PAR3, PAR4, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, PAR4, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, serializer1: KSerializer<PAR1>? = null, serializer2: KSerializer<PAR2>? = null, serializer3: KSerializer<PAR3>? = null, serializer4: KSerializer<PAR4>? = null): Deferred<List<RET>> fun <PAR1, PAR2, PAR3, PAR4, PAR5, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, PAR4, PAR5, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5, serializer1: KSerializer<PAR1>? = null, serializer2: KSerializer<PAR2>? = null, serializer3: KSerializer<PAR3>? = null, serializer4: KSerializer<PAR4>? = null, serializer5: KSerializer<PAR5>? = null): Deferred<RET> fun <PAR1, PAR2, PAR3, PAR4, PAR5, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, PAR4, PAR5, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5, serializer1: KSerializer<PAR1>? = null, serializer2: KSerializer<PAR2>? = null, serializer3: KSerializer<PAR3>? = null, serializer4: KSerializer<PAR4>? = null, serializer5: KSerializer<PAR5>? = null): Deferred<List<RET>>
Executes defined call to a remote web service. |