org.mbari.siam.distributed
Interface Platform

All Superinterfaces:
Device, java.rmi.Remote
All Known Subinterfaces:
MMCProxy, NMCProxy

public interface Platform
extends Device

A Platform contains and manages a collection of Devices.

Author:
Tom O'Reilly

Field Summary
 
Fields inherited from interface org.mbari.siam.distributed.Device
ERROR, INITIAL, INSTRUMENT_STATE, MDATA_ALL, OK, SAFE, SAMPLING, SERVICE_ATTRIBUTES, SERVICE_CACHE, SERVICE_PROPERTIES, SERVICE_XML, SHUTDOWN, SLEEPING, SUSPEND, UNKNOWN
 
Method Summary
 DeviceGeometry getDeviceGeometry()
          Get DeviceGeometry for this platform.
 DevicePacket[] getDevicePackets(long sensorID, long startTime, long endTime)
          Get DevicePacket objects, from specified sensor, within specified time window.
 EventManager getEventManager()
          Get the EventManager for this platform.
 Location getLocation(Device device)
          Get location of specified device.
 DevicePacketStream getPacketStream()
          Get DevicePacketStream, which provides DevicePackets from all Sensors on this platform.
 
Methods inherited from interface org.mbari.siam.distributed.Device
getChildren, getCommPortName, getFrameworkVersion, getId, getLocation, getMetadata, getName, getParent, getSamplingCount, getSamplingErrorCount, getSamplingRetryCount, getStatus, host, powerOff, powerOn, prepareToRun, resume, shutdown, suspend, test
 

Method Detail

getLocation

Location getLocation(Device device)
                     throws java.lang.Exception,
                            java.rmi.RemoteException
Get location of specified device.

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

getPacketStream

DevicePacketStream getPacketStream()
                                   throws java.lang.Exception,
                                          java.rmi.RemoteException
Get DevicePacketStream, which provides DevicePackets from all Sensors on this platform.

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

getDeviceGeometry

DeviceGeometry getDeviceGeometry()
                                 throws java.lang.Exception,
                                        java.rmi.RemoteException
Get DeviceGeometry for this platform.

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

getEventManager

EventManager getEventManager()
                             throws java.lang.Exception,
                                    java.rmi.RemoteException
Get the EventManager for this platform.

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

getDevicePackets

DevicePacket[] getDevicePackets(long sensorID,
                                long startTime,
                                long endTime)
                                throws java.rmi.RemoteException,
                                       DeviceNotFound,
                                       NoDataException,
                                       TooMuchDataException
Get DevicePacket objects, from specified sensor, within specified time window.

Throws:
java.rmi.RemoteException
DeviceNotFound
NoDataException
TooMuchDataException


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.