open class JoobyRemoteAgent<T : Any> : RemoteAgent
Client side agent for JSON-RPC remote calls with Jooby.
JoobyRemoteAgent(serviceManager: JoobyServiceManager<T>)
Client side agent for JSON-RPC remote calls with Jooby. |
val callAgent: CallAgent |
|
val serviceManager: JoobyServiceManager<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): Deferred<RET> fun <PAR, RET : Any, T> call(function: T.(PAR, Request?) -> Deferred<List<RET>>, p: PAR): Deferred<List<RET>> fun <PAR1, PAR2, RET : Any, T> call(function: T.(PAR1, PAR2, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2): Deferred<RET> fun <PAR1, PAR2, RET : Any, T> call(function: T.(PAR1, PAR2, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2): 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): 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): 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): 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): 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): 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): Deferred<List<RET>>
Executes defined call to a remote web service. |