candy.util
Class ClearSpace

java.lang.Object
  |
  +--candy.util.ClearSpace

public class ClearSpace
extends java.lang.Object

This program is a util program which will get access to our candySpace and clear any candyObjects from it

Author:
Jason Corso

Field Summary
(package private)  net.jini.space.JavaSpace theSpace
          A Reference to the space (candySpace)
 
Constructor Summary
ClearSpace()
          CONSTRUCTOR
 
Method Summary
static void main(java.lang.String[] args)
          The main routine for the clientApp
 candyObject take(candyObject tmpl)
          takes a packet of the given template from the JavaSpace
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theSpace

net.jini.space.JavaSpace theSpace
A Reference to the space (candySpace)
Constructor Detail

ClearSpace

public ClearSpace()
CONSTRUCTOR
Method Detail

take

public candyObject take(candyObject tmpl)
takes a packet of the given template from the JavaSpace
Parameters:
tmpl - The template packet

main

public static void main(java.lang.String[] args)
The main routine for the clientApp
Parameters:
args - Arguments from the command-line