|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.tspaces.examples.simple.Example1
This class implements a very simple TupleSpace program. Create a TupleSpace object for a TupleSpace named "Example1" at the Host specified as the 1st operand. (default localhost) If this space does not already exist, it will be created. Write 3 tuples to "Example1" "Key1" "Data1" "Key2",999,"Data2" "Key2" "Data2" First we read one of the tuples back by specifing the exact contents of the tuple. Next we take (which reads and removes) a tuple which is selected based on the contents of the first field.
TupleSpace| Constructor Summary | |
Example1()
|
|
| Method Summary | |
static void |
main(java.lang.String[] argv)
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Example1()
| Method Detail |
public static void main(java.lang.String[] argv)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||