com.bluemarsh.jswat.command
Class suspendCommand
java.lang.Object
|
+--com.bluemarsh.jswat.command.JSwatCommand
|
+--com.bluemarsh.jswat.command.suspendCommand
- public class suspendCommand
- extends JSwatCommand
Defines the class that handles the 'suspend' command.
- Author:
- Nathan Fiedler
Method Summary |
void |
perform(Session session,
com.bluemarsh.util.StringTokenizer args,
Log out)
Perform the 'suspend' command. |
protected void |
suspendThread(Session session,
java.lang.String idToken,
Log out)
Suspend the thread given by the ID token string. |
Methods inherited from class com.bluemarsh.jswat.command.JSwatCommand |
argumentsMatch, createObject, description, findClassesByPattern, getCommandName, getThreadByID, help, help, missingArgs, receiveInput, resolveOverload |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
suspendCommand
public suspendCommand()
perform
public void perform(Session session,
com.bluemarsh.util.StringTokenizer args,
Log out)
- Perform the 'suspend' command.
- Overrides:
perform
in class JSwatCommand
- Parameters:
session
- JSwat session on which to operate.args
- Tokenized string of command arguments.out
- Output to write messages to.
suspendThread
protected void suspendThread(Session session,
java.lang.String idToken,
Log out)
throws NoSuchThreadException,
NotActiveException,
java.lang.NumberFormatException
- Suspend the thread given by the ID token string.
- Parameters:
session
- Debugging session.idToken
- Thread ID as a string.out
- Output to write to.- Throws:
NotActiveException
- Thrown if there is no active session.