org.mbari.siam.operations.portal
Class StreamServer

java.lang.Object
  extended by javax.rmi.PortableRemoteObject
      extended by 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.
 
Method Summary
 DevicePacketStream getDevicePacketStream(Authentication auth)
          Get DevicePacketStream for all sensors.
 DevicePacketStream getDevicePacketStream(long sensorID, Authentication auth)
          Get DevicePacketStream for specified sensor.
static void main(java.lang.String[] args)
           
 void run()
           
 
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
 

Constructor Detail

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
Method Detail

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.