org.mbari.siam.distributed
Class DevicePacketOutputStream

java.lang.Object
  extended by org.mbari.siam.distributed.DevicePacketOutputStream

public class DevicePacketOutputStream
extends java.lang.Object

DevicePacketOutputStream serializes DevicePacket objects and writes them to a Socket.

Author:
Tom O'Reilly

Method Summary
 void close()
          Close the stream; call only when stream no longer needed.
 void write(DevicePacket packet)
          Write DevicePacket.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

write

public void write(DevicePacket packet)
           throws java.io.IOException
Write DevicePacket.

Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Close the stream; call only when stream no longer needed.

Throws:
java.io.IOException


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.