rina.ipcProcess.impl
Class IPCProcessRMT

java.lang.Object
  extended by java.lang.Thread
      extended by rina.ipcProcess.impl.IPCProcessRMT
All Implemented Interfaces:
java.lang.Runnable

public class IPCProcessRMT
extends java.lang.Thread

This Relay and Mutiplexing part is used by IPC Process in Zero DIF Note: RMT in 0 DIF and non-0 DIF are different, since in the dif 0 , the underlying is internet. Each TCP flow has a DTP header in order to do demultiplexing in dif 0.

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
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
IPCProcessRMT(FlowAllocatorImpl flowAllocatorImpl, RIBImpl rib, MessageQueue dtpMsgQueue, MessageQueue cdapMsgQueue, java.util.LinkedHashMap<java.lang.String,MessageQueue> upperIPCsDTPMsgQueue, java.util.LinkedHashMap<java.lang.String,MessageQueue> upperIPCsCDAPMsgQueue)
           
 
Method Summary
 void run()
          start thread for receiving msg
 
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
 

Constructor Detail

IPCProcessRMT

public IPCProcessRMT(FlowAllocatorImpl flowAllocatorImpl,
                     RIBImpl rib,
                     MessageQueue dtpMsgQueue,
                     MessageQueue cdapMsgQueue,
                     java.util.LinkedHashMap<java.lang.String,MessageQueue> upperIPCsDTPMsgQueue,
                     java.util.LinkedHashMap<java.lang.String,MessageQueue> upperIPCsCDAPMsgQueue)
Method Detail

run

public void run()
start thread for receiving msg

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