at.spardat.xma.session
Class PipeListenerThread

java.lang.Object
  extended byjava.lang.Thread
      extended byat.spardat.xma.session.PipeListenerThread
All Implemented Interfaces:
java.lang.Runnable

public class PipeListenerThread
extends java.lang.Thread

Since:
version_number Thread creating a named pipe and listening for a client. If a client connects, the byte stream from the client is read. Then an ExternalEvent is instantiated and XMAClienSession.notifyExternalEvent() is called. ExternalEvent return values are written back to the client as byte[] stream.

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
PipeListenerThread(XMASessionClient session, XMAPipe pipe)
           
 
Method Summary
 void run()
           
 void stopThread()
          Stops the PipeListenerThread (the Loop in run()).
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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
 

Constructor Detail

PipeListenerThread

public PipeListenerThread(XMASessionClient session,
                          XMAPipe pipe)
Method Detail

run

public void run()

stopThread

public void stopThread()
Stops the PipeListenerThread (the Loop in run()).