com.ibm.tspaces.examples.simple
Class Example1

java.lang.Object
  |
  +--com.ibm.tspaces.examples.simple.Example1

public class Example1
extends java.lang.Object

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.

Author:
John Thomas
See Also:
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

Example1

public Example1()
Method Detail

main

public static void main(java.lang.String[] argv)