Package xyz.block.ftl
Class Context
-
- All Implemented Interfaces:
public final class Context
-
-
Field Summary
Fields Modifier and Type Field Description private final Gsongsonprivate final StringjvmModuleprivate final VerbServiceClientroutingClient
-
Constructor Summary
Constructors Constructor Description Context(String jvmModule, VerbServiceClient routingClient)
-
Method Summary
Modifier and Type Method Description final GsongetGson()final StringgetJvmModule()final VerbServiceClientgetRoutingClient()final <R extends Any> Rcall(KFunction<R> verb, Object request)final <R extends Any> UnitcallSink(KFunction<R> verb, Object request)final <R extends Any> RcallSource(KFunction<R> verb)final <R extends Any> UnitcallEmpty(KFunction<R> verb)-
-
Constructor Detail
-
Context
Context(String jvmModule, VerbServiceClient routingClient)
-
-
Method Detail
-
getGson
final Gson getGson()
-
getJvmModule
final String getJvmModule()
-
getRoutingClient
final VerbServiceClient getRoutingClient()
-
callSource
final <R extends Any> R callSource(KFunction<R> verb)
-
-
-
-