home *** CD-ROM | disk | FTP | other *** search
- package sun.tools.debug;
-
- public class RemoteThreadGroup extends RemoteObject {
- RemoteThreadGroup parent;
- String name;
- int maxPriority;
- boolean daemon;
-
- RemoteThreadGroup(RemoteAgent var1, int var2, RemoteClass var3) {
- super(var1, 15, var2, var3);
- }
-
- private void getThreadGroupInfo() throws Exception {
- if (this.name == null) {
- super.agent.getThreadGroupInfo(this);
- }
-
- }
-
- public String getName() throws Exception {
- this.getThreadGroupInfo();
- return this.name;
- }
-
- public void stop() throws Exception {
- super.agent.stopThreadGroup(super.id);
- }
-
- public RemoteThread[] listThreads(boolean var1) throws Exception {
- return super.agent.listThreads(this, var1);
- }
- }
-