public abstract class RemoteThread extends java.lang.Object implements ThreadProxy
Modifier and Type | Field and Description |
---|---|
protected Address |
addr |
protected RemoteDebuggerClient |
debugger |
protected long |
id |
Constructor and Description |
---|
RemoteThread(RemoteDebuggerClient debugger,
Address addr) |
RemoteThread(RemoteDebuggerClient debugger,
long id) |
Modifier and Type | Method and Description |
---|---|
boolean |
canSetContext()
Indicates whether calls to setContext() are valid.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
void |
setContext(ThreadContext context)
Sets the context for the given thread.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getContext
protected RemoteDebuggerClient debugger
protected Address addr
protected long id
public RemoteThread(RemoteDebuggerClient debugger, Address addr)
public RemoteThread(RemoteDebuggerClient debugger, long id)
public boolean canSetContext() throws DebuggerException
ThreadProxy
canSetContext
in interface ThreadProxy
DebuggerException
public void setContext(ThreadContext context) throws java.lang.IllegalThreadStateException, DebuggerException
ThreadProxy
setContext
in interface ThreadProxy
java.lang.IllegalThreadStateException
DebuggerException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.