com.ibm.tspaces.examples.simple
Class Simple1

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

public class Simple1
extends java.lang.Object

This class implements a very simple TupleSpace program. Create a TupleSpace object for a TupleSpace named "Simple1" at the Host specified as the 1st operand. (default localhost) If this space does not already exist, it will be created. Write 2 tuples to "Simple1" that each consists of 2 strings. "Key1" "Data1" "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
Simple1()
           
 
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

Simple1

public Simple1()
Method Detail

main

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