edu.cmu.emulator.emulab
Class EmulabDaemon

java.lang.Object
  extended by java.lang.Thread
      extended by edu.cmu.emulator.emulab.EmulabDaemon
All Implemented Interfaces:
Runnable

public class EmulabDaemon
extends Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  BufferedReader br
           
(package private)  Socket csock
           
(package private)  String eid
           
(package private)  String filename
           
(package private)  String pid
           
(package private) static int port
           
(package private) static Hashtable portHash
           
(package private) static ServerSocket ssock
           
(package private)  boolean swapin
           
(package private) static Hashtable swapInfo
           
(package private)  String username
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
EmulabDaemon(Socket client)
           
EmulabDaemon(String filename)
           
 
Method Summary
static void main(String[] argv)
           
(package private)  void processLine(String line, int count)
           
(package private)  void processSwap()
           
(package private) static void readPortMap(String portMapFile)
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

port

static int port

ssock

static ServerSocket ssock

swapInfo

static Hashtable swapInfo

portHash

static Hashtable portHash

csock

Socket csock

br

BufferedReader br

filename

String filename

username

String username

pid

String pid

eid

String eid

swapin

boolean swapin
Constructor Detail

EmulabDaemon

EmulabDaemon(Socket client)

EmulabDaemon

EmulabDaemon(String filename)
Method Detail

processSwap

void processSwap()

processLine

void processLine(String line,
                 int count)

run

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

readPortMap

static void readPortMap(String portMapFile)

main

public static void main(String[] argv)


Copyright © 2013. All Rights Reserved.