Interface IConnect
-
- All Known Subinterfaces:
IRuntimeDebugTargetThread
public interface IConnect
The ability to begin a debug session with a target object.Clients may implement this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canConnect()
Returns whether this element can currently connect.void
connect()
Connects this element from its target.boolean
isConnected()
Returns whether this element is connected.
-
-
-
Method Detail
-
canConnect
boolean canConnect()
Returns whether this element can currently connect.- Returns:
- whether this element can currently connect
-
connect
void connect() throws org.eclipse.debug.core.DebugException
Connects this element from its target. Generally, connecting begins a debug session with a debug target, and allows the target object to continue running.- Throws:
org.eclipse.debug.core.DebugException
- on failure. Reasons include:- TARGET_REQUEST_FAILED - The request failed in the target
- NOT_SUPPORTED - The capability is not supported by the target
-
isConnected
boolean isConnected()
Returns whether this element is connected.- Returns:
- whether this element is connected
-
-