Class DevicePacketServerThread

  extended by java.lang.Thread
      extended by org.mbari.siam.distributed.DevicePacketServerThread
All Implemented Interfaces:

public class DevicePacketServerThread
extends java.lang.Thread

Base class for thread which accepts DevicePacketStream client connections.

Tom O'Reilly

Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
Field Summary
 java.util.Vector _clients
          Vector of DevicePacketOutputStream objects.
Fields inherited from class java.lang.Thread
Constructor Summary
DevicePacketServerThread(int port)
          Construct DevicePacketServerThread; create encapsulated server socket.
Method Summary
 void run()
          Wait for and accept new client connection; add new client to list of clients.
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


public java.util.Vector _clients
Vector of DevicePacketOutputStream objects.

Constructor Detail


public DevicePacketServerThread(int port)
Construct DevicePacketServerThread; create encapsulated server socket.

Method Detail


public void run()
Wait for and accept new client connection; add new client to list of clients.

Specified by:
run in interface java.lang.Runnable
run in class java.lang.Thread

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.