org.mbari.siam.distributed
Interface Parent

All Known Implementing Classes:
NodeManager

public interface Parent

Parent represents the processing/management environment into which an Instrument is installed. Parent exposes some functionality of a an implementation (e.g. NodeService) to Instrument.

Author:
Kent Headley

Method Summary
 Location getLocation(long deviceID)
          Return location of specified device.
 long getParentId()
          Return this parent's ISI ID.
 java.lang.String getSoftwareVersion()
          Return software version information for parent environment.
 boolean powerAvailable(int milliamp)
          Request power from the parent; return true if available, false if unavailable.
 void publish(java.util.EventObject event)
          Publish specified event.
 void runDiagnostics(java.lang.String note)
          Run parent's diagnostics.
 

Method Detail

getParentId

long getParentId()
                 throws java.rmi.RemoteException
Return this parent's ISI ID.

Throws:
java.rmi.RemoteException

getLocation

Location getLocation(long deviceID)
                     throws java.rmi.RemoteException
Return location of specified device.

Throws:
java.rmi.RemoteException

runDiagnostics

void runDiagnostics(java.lang.String note)
                    throws java.lang.Exception,
                           java.rmi.RemoteException
Run parent's diagnostics. Throws exception if diagnostics cannot be run.

Throws:
java.lang.Exception
java.rmi.RemoteException

getSoftwareVersion

java.lang.String getSoftwareVersion()
Return software version information for parent environment.


publish

void publish(java.util.EventObject event)
Publish specified event.


powerAvailable

boolean powerAvailable(int milliamp)
Request power from the parent; return true if available, false if unavailable.



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.