step.functions.FunctionExecutionService Maven / Gradle / Ivy
package step.functions;
import java.util.Map;
import step.grid.TokenWrapper;
import step.grid.client.GridClient.AgentCommunicationException;
import step.grid.tokenpool.Interest;
public interface FunctionExecutionService {
TokenWrapper getLocalTokenHandle();
TokenWrapper getTokenHandle(Map attributes, Map interests, boolean createSession) throws AgentCommunicationException;
void returnTokenHandle(TokenWrapper adapterToken) throws AgentCommunicationException;
Output callFunction(TokenWrapper tokenHandle, Map functionAttributes, Input input);
Output callFunction(TokenWrapper tokenHandle, String functionId, Input input);
}