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

Variable Index

 o DEFAULTPORT
The default port number.
 o DEFAULTSERVERNAME
The default name of the server hosting the tuple space.
 o DEFAULTSPACENAME
The default name of the tuple space.

Constructor Index

 o TupleSpaceObservableThread(TupleSpaceObservable, String, String, int, SuperTuple)
Constructs a new observable thread.
 o TupleSpaceObservableThread(TupleSpaceObservable, String, String, SuperTuple)
Constructs a new observable thread.
 o TupleSpaceObservableThread(TupleSpaceObservable, String, SuperTuple)
Constructs a new observable thread.

Method Index

 o run()
Query tuplespace periodically.

Variables

 o DEFAULTSPACENAME
 public static final String DEFAULTSPACENAME
The default name of the tuple space.

 o DEFAULTSERVERNAME
 public static final String DEFAULTSERVERNAME
The default name of the server hosting the tuple space.

 o DEFAULTPORT
 public static final int DEFAULTPORT
The default port number.

Constructors

 o 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
 o 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
 o 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

Methods

 o run
 public void run()
Query tuplespace periodically.


All Packages  Class Hierarchy  This Package  Previous  Next  Index