rina.dap
Class Application

java.lang.Object
  extended by java.lang.Thread
      extended by rina.dap.Application
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
APP1, APP2, InPManager, Pnode, Pnode1, Pnode2, PnodeExample, PnodeTest, SliceProvider, TestApp

public class Application
extends java.lang.Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 IRM irm
           
 RIBImpl rib
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Application(java.lang.String appName, java.lang.String IDDName)
           
 
Method Summary
 void addUnderlyingIPC(IPCProcessImpl ipc)
           
 java.lang.String getAppName()
           
 void handleAppCDAPmessage(byte[] msg)
          overwrite this class and implement your the handler for your own application
 void run()
           
 void setAppName(java.lang.String appName)
           
 
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

rib

public RIBImpl rib

irm

public IRM irm
Constructor Detail

Application

public Application(java.lang.String appName,
                   java.lang.String IDDName)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

handleAppCDAPmessage

public void handleAppCDAPmessage(byte[] msg)
overwrite this class and implement your the handler for your own application

Parameters:
msg -

addUnderlyingIPC

public void addUnderlyingIPC(IPCProcessImpl ipc)

getAppName

public java.lang.String getAppName()
Returns:
the appName

setAppName

public void setAppName(java.lang.String appName)
Parameters:
appName - the appName to set