|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
net.floodlightcontroller.jython.JythonServer
public class JythonServer
This class starts a thread that runs a jython interpreter that can be used for debug (or even development).
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected static org.slf4j.Logger |
log
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
JythonServer(java.lang.String host_,
int port_,
java.util.Map<java.lang.String,java.lang.Object> locals_)
|
Method Summary | |
---|---|
void |
run()
The main thread for this class invoked by Thread.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 |
---|
protected static org.slf4j.Logger log
Constructor Detail |
---|
public JythonServer(java.lang.String host_, int port_, java.util.Map<java.lang.String,java.lang.Object> locals_)
host_
- Host to use for jython serverport_
- Port to use for jython serverlocals_
- Locals to add to the interpreters top level name spaceMethod Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
Thread.run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |