stsci.server
Class ImageFileArchive

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--stsci.server.FileArchive
                          |
                          +--stsci.server.ImageFileArchive
All Implemented Interfaces:
Archive, ImageArchive, java.rmi.Remote, java.io.Serializable

public class ImageFileArchive
extends FileArchive
implements ImageArchive

Author:
 
See Also:
Serialized Form

Fields inherited from class stsci.server.FileArchive
cmd, factory, factoryName, name
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
ImageFileArchive(java.lang.String facName, java.lang.String cmd, java.lang.String name)
          Pass the factory class name the command for the factory and the name for this server to the constructor - these will have to be passed on the command line tot he main loop.
 
Method Summary
 ImageProd area(double alpha, double delta, double radius)
          ImageProd is a factory which produces PlanarImages - this returns a reference to the factory rather than the image to allow for easier background loading.
 
Methods inherited from class stsci.server.FileArchive
main, name, register
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
, clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface stsci.arci.Archive
name
 

Constructor Detail

ImageFileArchive

public ImageFileArchive(java.lang.String facName,
                        java.lang.String cmd,
                        java.lang.String name)
                 throws java.lang.Exception
Pass the factory class name the command for the factory and the name for this server to the constructor - these will have to be passed on the command line tot he main loop. * @param facName
Parameters:
cmd -  
name -  
Throws:
java.lang.Exception -  
Method Detail

area

public ImageProd area(double alpha,
                      double delta,
                      double radius)
               throws ArchiveException,
                      java.rmi.RemoteException
Description copied from interface: ImageArchive
ImageProd is a factory which produces PlanarImages - this returns a reference to the factory rather than the image to allow for easier background loading. Planarimage is defined in JAI (Java Advanced Imaging) it is a fairly high level abstract class and seems like the corect onr eo return from this method. Remote image is also a subclass of this so there is the posibility to do remote stuff also. This of course ties the system definitely to JAI. * @param alpha
Specified by:
area in interface ImageArchive
Parameters:
alpha -  
delta -  
radius -  
Returns:
ImageProd
Throws:
ArchiveException,RemoteException -