org.mbari.siam.moos.distributed.mooring
Interface NMCProxy

All Superinterfaces:
Device, Platform, java.rmi.Remote

public interface NMCProxy
extends Platform

Proxy for NMC mooring server.

Author:
Tom O'Reilly

Field Summary
static java.lang.String SERVER_NAME
           
 
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
 byte[] configureDevice(long deviceID, byte[] configString)
          Send a configuration string to the specified device.
 ChannelConfiguration[] getChannelConfiguration()
          Association of device IDs with channels.
 void setPollPeriod(long deviceID, int periodMillisec)
          Specify the polling period for specified device.
 
Methods inherited from interface org.mbari.siam.distributed.Platform
getDeviceGeometry, getDevicePackets, getEventManager, getLocation, getPacketStream
 
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
 

Field Detail

SERVER_NAME

static final java.lang.String SERVER_NAME
See Also:
Constant Field Values
Method Detail

configureDevice

byte[] configureDevice(long deviceID,
                       byte[] configString)
                       throws java.rmi.RemoteException,
                              DeviceNotFound
Send a configuration string to the specified device. Returns device's reply string.

Parameters:
deviceID - ID of the device
configString - Configuration string recognized by device
Throws:
java.rmi.RemoteException
DeviceNotFound

setPollPeriod

void setPollPeriod(long deviceID,
                   int periodMillisec)
                   throws java.rmi.RemoteException,
                          DeviceNotFound
Specify the polling period for specified device.

Parameters:
deviceID - ID of the device
periodMillisec - polling period in milliseconds
Throws:
java.rmi.RemoteException
DeviceNotFound

getChannelConfiguration

ChannelConfiguration[] getChannelConfiguration()
                                               throws java.rmi.RemoteException
Association of device IDs with channels.

Throws:
java.rmi.RemoteException


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.