|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--net.sourceforge.jsrvany.debug.DebuggerThread
This class is a single thread started by Debugger
Copyright (c) 1999 Damian Fauth
Inner Class Summary | |
class |
DebuggerThread.WorkerThread
A separate Thread object is used to run the main class invoked by by the user |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
Constructor Summary | |
DebuggerThread(java.net.Socket sock,
Debugger debugger)
Constructor assigning socket |
Method Summary | |
protected void |
enumerateListeners()
enumerate through the listeners registered with this ServiceControlManager |
void |
handleServiceControlEvent(ServiceControlEvent e)
handle a StartServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs |
protected void |
performAction(int selection)
perform the selected action |
protected int |
readSelection()
accept a selection from the menu |
void |
run()
run this thread |
protected void |
runMain()
run the class selected |
protected void |
showArgs()
run the class selected |
protected void |
showJVMOptions()
show the JVM options this class will run with |
protected void |
showMenu()
show the menu |
protected void |
stopRunning()
signal thread to stop running |
protected void |
triggerEvent()
trigger an event |
protected void |
write(java.lang.String message)
write to the client |
Methods inherited from class java.lang.Thread |
activeCount,
checkAccess,
countStackFrames,
currentThread,
destroy,
dumpStack,
enumerate,
getContextClassLoader,
getName,
getPriority,
getThreadGroup,
interrupt,
interrupted,
isAlive,
isDaemon,
isInterrupted,
join,
join,
join,
resume,
setContextClassLoader,
setDaemon,
setName,
setPriority,
sleep,
sleep,
start,
stop,
stop,
suspend,
toString,
yield |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public DebuggerThread(java.net.Socket sock, Debugger debugger)
sock
- is the Socket objectMethod Detail |
public void run()
protected void showMenu() throws java.io.IOException
protected int readSelection() throws java.io.IOException
protected void performAction(int selection) throws java.lang.Throwable
int
- being the selection as an intprotected void runMain() throws java.lang.Throwable
protected void triggerEvent() throws java.lang.Throwable
protected void showArgs() throws java.io.IOException
protected void showJVMOptions() throws java.lang.Exception
protected void enumerateListeners() throws java.lang.Exception
protected void write(java.lang.String message) throws java.io.IOException
message
- is the message to send as a Stringprotected void stopRunning() throws java.io.IOException
public void handleServiceControlEvent(ServiceControlEvent e) throws ServiceControlException
e
- is the event as an instance of an object extending ServiceControlEvent
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |