stsci.client
Class ArcObjLoad

java.lang.Object
  |
  +--stsci.client.ArcObjLoad
All Implemented Interfaces:
java.lang.Runnable

public class ArcObjLoad
extends java.lang.Object
implements java.lang.Runnable

This is a threaded class which pumps an iterator to load data while the application still has control - as new Stars are manufactured they are put in the ArcObjCont. So essentialy this attaches a iterator to a container to fill the store up in the background (using a thread).


Field Summary
protected  RemoteIter fac
           
protected  ArcObjCont sky
           
 
Constructor Summary
ArcObjLoad(ArcObjCont sky, RemoteIter iter)
           
 
Method Summary
 void load()
          Keep taking stars from the iterator until done and put them in the ArcObjCont.
 void run()
          Obligatory for runable.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sky

protected ArcObjCont sky

fac

protected RemoteIter fac
Constructor Detail

ArcObjLoad

public ArcObjLoad(ArcObjCont sky,
                  RemoteIter iter)
Method Detail

run

public void run()
Obligatory for runable. Just calls load.
Specified by:
run in interface java.lang.Runnable

load

public void load()
Keep taking stars from the iterator until done and put them in the ArcObjCont. Because this has its own thread we do not have to worry about hanging up the client.