All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.tspaces.TupleSpaceObservableThread
java.lang.Object
|
+----com.ibm.tspaces.TupleSpaceObservableThread
- public class TupleSpaceObservableThread
- extends Object
- implements Runnable
This class implements the observable thread that queries a tuplespcae
periodically.
- Author:
- Matthias Eichstaedt
-
DEFAULTPORT
- The default port number.
-
DEFAULTSERVERNAME
- The default name of the server hosting the tuple space.
-
DEFAULTSPACENAME
- The default name of the tuple space.
-
TupleSpaceObservableThread(TupleSpaceObservable, String, String, int, SuperTuple)
- Constructs a new observable thread.
-
TupleSpaceObservableThread(TupleSpaceObservable, String, String, SuperTuple)
- Constructs a new observable thread.
-
TupleSpaceObservableThread(TupleSpaceObservable, String, SuperTuple)
- Constructs a new observable thread.
-
run()
- Query tuplespace periodically.
DEFAULTSPACENAME
public static final String DEFAULTSPACENAME
- The default name of the tuple space.
DEFAULTSERVERNAME
public static final String DEFAULTSERVERNAME
- The default name of the server hosting the tuple space.
DEFAULTPORT
public static final int DEFAULTPORT
- The default port number.
TupleSpaceObservableThread
public TupleSpaceObservableThread(TupleSpaceObservable tso,
String spaceName,
SuperTuple templateTuple) throws TupleSpaceException
- Constructs a new observable thread.
- Parameters:
- spaceName - - name of the tuplespace
- tupleClassName - - name of the tuple class
TupleSpaceObservableThread
public TupleSpaceObservableThread(TupleSpaceObservable tso,
String spaceName,
String serverName,
SuperTuple templateTuple) throws TupleSpaceException
- Constructs a new observable thread.
- Parameters:
- spaceName - - name of the tuplespace
- serverName - - name of the tuplespace server
- tupleClassName - - name of the tuple class
TupleSpaceObservableThread
public TupleSpaceObservableThread(TupleSpaceObservable tso,
String spaceName,
String serverName,
int port,
SuperTuple templateTuple) throws TupleSpaceException
- Constructs a new observable thread.
- Parameters:
- spaceName - - name of the tuplespace
- serverName - - name of the tuplespace server
- port - - port number
- tupleClassName - - name of the tuple class
run
public void run()
- Query tuplespace periodically.
All Packages Class Hierarchy This Package Previous Next Index