org.mbari.siam.moos.utils.chart.sampler
Class SamplerImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.mbari.siam.moos.utils.chart.sampler.SamplerImpl
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, Sampler
public class SamplerImpl
- extends java.rmi.server.UnicastRemoteObject
- implements Sampler
- See Also:
- Serialized Form
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
_log4j
protected static org.apache.log4j.Logger _log4j
- Log4j logger
_nodeURL
protected java.lang.String _nodeURL
_portalURL
protected java.lang.String _portalURL
_commPortName
protected java.lang.String _commPortName
_dataItem
protected java.lang.String _dataItem
_isRunning
protected boolean _isRunning
_isPaused
protected boolean _isPaused
_ostream
protected java.io.OutputStream _ostream
_deviceID
protected long _deviceID
_isApplet
protected boolean _isApplet
_parserFactory
protected ParserFactory _parserFactory
_packetStream
protected DevicePacketStream _packetStream
_portalProxy
protected PortalProxy _portalProxy
SamplerImpl
public SamplerImpl()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
pickANumber
public double pickANumber()
throws java.rmi.RemoteException
- Test code
- Specified by:
pickANumber in interface Sampler
- Throws:
java.rmi.RemoteException
setApplet
public void setApplet(boolean isApplet)
- Specified by:
setApplet in interface Sampler
setNode
public void setNode(java.lang.String node)
throws java.rmi.RemoteException
- Specified by:
setNode in interface Sampler
- Throws:
java.rmi.RemoteException
setPortal
public void setPortal(java.lang.String portal)
throws java.rmi.RemoteException
- Specified by:
setPortal in interface Sampler
- Throws:
java.rmi.RemoteException
setPort
public void setPort(java.lang.String port)
throws java.rmi.RemoteException
- Specified by:
setPort in interface Sampler
- Throws:
java.rmi.RemoteException
setDeviceID
public void setDeviceID(long id)
throws java.rmi.RemoteException
- Specified by:
setDeviceID in interface Sampler
- Throws:
java.rmi.RemoteException
setDataItem
public void setDataItem(java.lang.String item)
throws java.rmi.RemoteException
- Specified by:
setDataItem in interface Sampler
- Throws:
java.rmi.RemoteException
getNodeSample
public double getNodeSample(long isiID,
java.lang.String dataItem)
throws java.rmi.RemoteException
- Specified by:
getNodeSample in interface Sampler
- Throws:
java.rmi.RemoteException
getPortalSample
public double getPortalSample(long isiID,
java.lang.String dataItem)
throws java.rmi.RemoteException
- Specified by:
getPortalSample in interface Sampler
- Throws:
java.rmi.RemoteException
getParsedPacket
public java.util.Vector getParsedPacket(long isiID)
throws java.rmi.RemoteException
- Specified by:
getParsedPacket in interface Sampler
- Throws:
java.rmi.RemoteException
getPacketStream
public DevicePacketStream getPacketStream()
getPacketFromStream
public SensorDataPacket getPacketFromStream(long isiID)
getPacketFromNode
public SensorDataPacket getPacketFromNode(long isiID)
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.