org.lsst.ccs.drivers.rcm
Class TestImage

java.lang.Object
  extended by org.lsst.ccs.drivers.rcm.TestImage
All Implemented Interfaces:
ImageClient.Listener, org.lsst.ccs.utilities.sa.CmndProcess.Dispatch

public class TestImage
extends Object
implements org.lsst.ccs.utilities.sa.CmndProcess.Dispatch, ImageClient.Listener

Program to test the Java image client interface routines

Author:
Owen Saxton

Constructor Summary
TestImage()
           
 
Method Summary
 boolean dispatch(int code, int found, Object[] args)
          Dispatches a command for processing
static void main(String[] args)
          Main program
 void processImage(Image img)
          Handles each received image
 void run()
          Runs the test
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestImage

public TestImage()
Method Detail

main

public static void main(String[] args)
Main program


run

public void run()
Runs the test

Loops reading and processing each new typed command line.


dispatch

public boolean dispatch(int code,
                        int found,
                        Object[] args)
Dispatches a command for processing

Specified by:
dispatch in interface org.lsst.ccs.utilities.sa.CmndProcess.Dispatch

processImage

public void processImage(Image img)
Handles each received image

Specified by:
processImage in interface ImageClient.Listener


Copyright © 2013 LSST. All Rights Reserved.