Package com.smeup.kokos.sdk.caller
Class ServiceCaller
java.lang.Object
com.smeup.kokos.sdk.caller.ServiceCaller
- All Implemented Interfaces:
IServiceCaller
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispatch(Fun fun, ExecutionContext context, OutputStream out, boolean coreResponse) voiddispatchWithTimeout(Fun fun, ExecutionContext context, OutputStream out, boolean coreResponse, Integer timeout) protected voidexecuteService(Class<? extends KokosService> serviceClass, Fun fun, ExecutionContext context, OutputStream out, SmeupDataStructurePrinter printer)
-
Field Details
-
DEFAULT_SERVICES_PACKAGE
- See Also:
-
KOKOS_PROXY_SERVICE
- See Also:
-
-
Constructor Details
-
ServiceCaller
public ServiceCaller()
-
-
Method Details
-
dispatch
public void dispatch(Fun fun, ExecutionContext context, OutputStream out, boolean coreResponse) throws Exception - Specified by:
dispatchin interfaceIServiceCaller- Throws:
Exception
-
dispatchWithTimeout
public void dispatchWithTimeout(Fun fun, ExecutionContext context, OutputStream out, boolean coreResponse, Integer timeout) throws Exception - Specified by:
dispatchWithTimeoutin interfaceIServiceCaller- Throws:
Exception
-
executeService
protected void executeService(Class<? extends KokosService> serviceClass, Fun fun, ExecutionContext context, OutputStream out, SmeupDataStructurePrinter printer) throws Exception - Throws:
Exception
-