1 /*********************************************************************
2 Copyright 2013, Ralph Ronnquist.
3 **********************************************************************/
5 package com.intendico.gorite.addon.remote;
7 import com.intendico.gorite.addon.*;
8 import com.intendico.data.Ref;
9 import com.intendico.gorite.Capability;
10 import com.intendico.gorite.Data;
11 import com.intendico.gorite.Goal.States;
12 import com.intendico.gorite.Goal;
13 import java.util.Vector;
16 * This interface is implemented by the connectivity sub system,
17 * to represent a particular goal execution connection.
19 public interface Connection {
21 * This method is used repeatedly in order to discover the
22 * status of the remote goal execution.
24 public States check() throws Throwable;
27 * This method will be called if the goal execution is to be
28 * cancelled form the triggering side.
32 public Vector<Ref> results();