org.mbari.siam.core
Class NodeServer

java.lang.Object
  extended by java.lang.Thread
      extended by org.mbari.siam.core.NodeServer
All Implemented Interfaces:
java.lang.Runnable

public class NodeServer
extends java.lang.Thread

NodeServer is one half of an RMI replacement using Sockets. It receives method requests from org.mbari.siam.operations.utils.NodeProxy, and sends responses back.

Author:
Bob Herlien

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
NodeServer(NodeService nodeService)
          Construct NodeServer for specified node.
 
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
 

Constructor Detail

NodeServer

public NodeServer(NodeService nodeService)
           throws java.io.IOException
Construct NodeServer for specified node.

Throws:
java.io.IOException
Method Detail

run

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
Overrides:
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.