org.mbari.siam.operations.portal
Class StreamServer
java.lang.Object
javax.rmi.PortableRemoteObject
org.mbari.siam.operations.portal.StreamServer
- All Implemented Interfaces:
- java.rmi.Remote, StreamServerProxy
public class StreamServer
- extends javax.rmi.PortableRemoteObject
- implements StreamServerProxy
Test generation of DevicePackets and writing to DevicePacketOutputStream
- Author:
- Tom O'Reilly
|
Constructor Summary |
StreamServer()
Construct PortalServer for specified platform. |
| Methods inherited from class javax.rmi.PortableRemoteObject |
connect, exportObject, narrow, toStub, unexportObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamServer
public StreamServer()
throws java.rmi.RemoteException,
java.net.UnknownHostException,
java.io.IOException
- Construct PortalServer for specified platform.
- Throws:
java.rmi.RemoteException
java.net.UnknownHostException
java.io.IOException
getDevicePacketStream
public DevicePacketStream getDevicePacketStream(Authentication auth)
throws AuthenticationException
- Get DevicePacketStream for all sensors.
- Specified by:
getDevicePacketStream in interface StreamServerProxy
- Throws:
AuthenticationException
getDevicePacketStream
public DevicePacketStream getDevicePacketStream(long sensorID,
Authentication auth)
throws DeviceNotFound,
AuthenticationException
- Get DevicePacketStream for specified sensor.
- Specified by:
getDevicePacketStream in interface StreamServerProxy
- Throws:
DeviceNotFound
AuthenticationException
run
public void run()
main
public static void main(java.lang.String[] args)
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.