Package com.smeup.kokos.sdk.caller
Interface IServiceCaller
- All Known Implementing Classes:
ServiceCaller,ServiceCallerV3
public interface IServiceCaller
- Author:
- mattia.bonardi
-
Method Summary
Modifier and TypeMethodDescriptionvoidchangeServicePackage(String servicePackage) voiddispatch(Fun fun, ExecutionContext context, OutputStream out, boolean coreResponse) voiddispatchAsync(Fun fun, ExecutionContext context, OutputStream out, boolean coreResponse) voiddispatchWithTimeout(Fun fun, ExecutionContext context, OutputStream out, boolean coreResponse, Integer timeout)
-
Method Details
-
dispatch
void dispatch(Fun fun, ExecutionContext context, OutputStream out, boolean coreResponse) throws Exception - Throws:
Exception
-
dispatchWithTimeout
void dispatchWithTimeout(Fun fun, ExecutionContext context, OutputStream out, boolean coreResponse, Integer timeout) throws Exception - Throws:
Exception
-
dispatchAsync
void dispatchAsync(Fun fun, ExecutionContext context, OutputStream out, boolean coreResponse) throws Exception - Throws:
Exception
-
changeServicePackage
-