rina.flowAllocator.impl.util
Class OutgoingComHandler

java.lang.Object
  extended by java.lang.Thread
      extended by rina.flowAllocator.impl.util.OutgoingComHandler
All Implemented Interfaces:
java.lang.Runnable

public class OutgoingComHandler
extends java.lang.Thread

OutgoingComHandler: this one is used for a 0 dif each time when this ipc creates a flow out

Version:
1.0
Author:
Yuefeng Wang and Flavio Esposito . Computer Science Department, Boston University

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 boolean listening
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
OutgoingComHandler(MessageQueue msgQueue, TCPFlow tcpFlow)
          Constructor
 
Method Summary
 void run()
          this object is attached each time a new flow is created
 
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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

listening

public boolean listening
Constructor Detail

OutgoingComHandler

public OutgoingComHandler(MessageQueue msgQueue,
                          TCPFlow tcpFlow)
Constructor

Parameters:
buffer -
flow -
Method Detail

run

public void run()
this object is attached each time a new flow is created

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