org.mbari.siam.moos.utils.chart.sampler
Interface Sampler
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- SamplerImpl
public interface Sampler
- extends java.rmi.Remote
Interface to a Sampler, which acts as a bridge between
an applet and a portal. The SampleServer provides a stream
of formatted records, delimited by an arbitrary specified
string. The parameters are specified by means of an array
of strings naming the parameters. The names are well known
to a parser (provided to the SampleServer by the instrument
service or portal), which parses data packets and creates
the returned records.
- Author:
- Kent Headley
pickANumber
double pickANumber()
throws java.rmi.RemoteException
- test code
- Throws:
java.rmi.RemoteException
setNode
void setNode(java.lang.String node)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
setApplet
void setApplet(boolean isApplet)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
setPort
void setPort(java.lang.String port)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
setPortal
void setPortal(java.lang.String port)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
setDeviceID
void setDeviceID(long id)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
setDataItem
void setDataItem(java.lang.String dataItem)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getNodeSample
double getNodeSample(long isiID,
java.lang.String dataItem)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getPortalSample
double getPortalSample(long isiID,
java.lang.String dataItem)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getParsedPacket
java.util.Vector getParsedPacket(long isiID)
throws java.rmi.RemoteException
- 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.