faa.tg.prep.tmf.radar.server
Class RadarMessageHandler

java.lang.Object
  extended by java.lang.Thread
      extended by faa.tg.prep.tmf.radar.server.RadarMessageHandler
All Implemented Interfaces:
java.lang.Runnable

public class RadarMessageHandler
extends java.lang.Thread

  A handler to process data to clients from a server
  
 
See the source: RadarMessageHandler.java

Version:
$Id: RadarMessageHandler.java,v 3.1 2006/03/14 15:57:37 samf Exp $
Author:
Michael E. Ross

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
protected  java.io.ObjectInputStream ois
           
protected  java.io.ObjectOutputStream oos
           
protected  java.net.Socket s
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RadarMessageHandler(java.net.Socket s)
          Constructor for the RadarMessageHandler
 
Method Summary
 void reset()
           
 void writeObject(java.lang.Object object)
           
 void writeObject(RadarMessage rm)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, 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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
The CVS Version ID

See Also:
Constant Field Values

s

protected java.net.Socket s

ois

protected java.io.ObjectInputStream ois

oos

protected java.io.ObjectOutputStream oos
Constructor Detail

RadarMessageHandler

public RadarMessageHandler(java.net.Socket s)
                    throws java.io.IOException
Constructor for the RadarMessageHandler

Parameters:
Socket - a socket connection the client will receive data from
Throws:
Throws - a IOException
java.io.IOException
Method Detail

reset

public void reset()
           throws java.io.IOException
Throws:
java.io.IOException

writeObject

public void writeObject(RadarMessage rm)
                 throws java.io.IOException
Throws:
java.io.IOException

writeObject

public void writeObject(java.lang.Object object)
                 throws java.io.IOException
Throws:
java.io.IOException