org.mbari.siam.core
Class MiscDevicePort

java.lang.Object
  extended by org.mbari.siam.core.DevicePort
      extended by org.mbari.siam.core.MiscDevicePort

public class MiscDevicePort
extends DevicePort

MiscDevicePort implements a miscellaneous DevicePort.


Field Summary
protected  java.lang.String _params
           
 
Fields inherited from class org.mbari.siam.core.DevicePort
_service
 
Constructor Summary
MiscDevicePort(int index, java.lang.String portName, PowerPort powerPort, java.lang.String jar, DeviceService service, java.lang.String params)
           
 
Method Summary
 void closeComms()
          closeComms() is null
 void createInstrumentPort()
          Create the DigitalInputInstrumentPort
 void openComms()
          openComms() is null
 
Methods inherited from class org.mbari.siam.core.DevicePort
addCommPortListener, equals, getCommsMode, getDeviceService, getIndex, getPortName, getPowerPort, hashCode, hasPowerPort, hasPuck, powerDownPort, powerUpPort, setCommsMode, setPowerPort, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_params

protected java.lang.String _params
Constructor Detail

MiscDevicePort

public MiscDevicePort(int index,
                      java.lang.String portName,
                      PowerPort powerPort,
                      java.lang.String jar,
                      DeviceService service,
                      java.lang.String params)
Method Detail

openComms

public void openComms()
               throws gnu.io.NoSuchPortException,
                      gnu.io.PortInUseException,
                      gnu.io.UnsupportedCommOperationException,
                      java.lang.Exception
openComms() is null

Specified by:
openComms in class DevicePort
Throws:
gnu.io.NoSuchPortException
gnu.io.PortInUseException
gnu.io.UnsupportedCommOperationException
java.lang.Exception

closeComms

public void closeComms()
closeComms() is null

Specified by:
closeComms in class DevicePort

createInstrumentPort

public void createInstrumentPort()
                          throws InitializeException
Create the DigitalInputInstrumentPort

Specified by:
createInstrumentPort in class DevicePort
Throws:
InitializeException


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.