org.lsst.ccs.drivers.usb
Class TestUsbComm

java.lang.Object
  extended by org.lsst.ccs.drivers.usb.TestUsbComm
All Implemented Interfaces:
org.lsst.ccs.utilities.sa.CmndProc.Dispatch

public class TestUsbComm
extends Object
implements org.lsst.ccs.utilities.sa.CmndProc.Dispatch

Program to test the UsbComm methods

Author:
Owen Saxton

Constructor Summary
TestUsbComm(boolean dbg)
          Constructor
 
Method Summary
 boolean dispatch(int code, Scanner scan)
          Dispatch command for processing, exception-free version
static void main(String[] args)
          Main program
 void run()
          Run the test Loops reading and processing each new typed command line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestUsbComm

public TestUsbComm(boolean dbg)
            throws UsbException,
                   IOException
Constructor

Throws:
UsbException
IOException
Method Detail

main

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


run

public void run()
         throws IOException
Run the test Loops reading and processing each new typed command line.

Throws:
IOException

dispatch

public boolean dispatch(int code,
                        Scanner scan)
Dispatch command for processing, exception-free version

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


Copyright © 2012 LSST. All Rights Reserved.