|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ptp.debug.core.pdi.request.AbstractEventRequest
public abstract class AbstractEventRequest
| Field Summary | |
|---|---|
protected java.lang.String |
message
|
protected int |
status
|
protected TaskSet |
tasks
|
| Fields inherited from interface org.eclipse.ptp.debug.core.pdi.request.IPDIEventRequest |
|---|
ACTION_NONE, ACTION_TERMINATED, CANCELLED, DONE, ERROR, RUNNING, UNKNOWN |
| Constructor Summary | |
|---|---|
AbstractEventRequest(TaskSet tasks)
|
|
| Method Summary | |
|---|---|
void |
cancel()
Cancels this request. |
boolean |
completed(TaskSet cTasks,
java.lang.Object result)
Returns whether tasks are completed and set result |
protected abstract void |
doExecute(IPDIDebugger debugger)
|
protected abstract void |
doFinish()
|
void |
done()
Indicates this request is complete. |
void |
error(java.lang.String message)
Indicates this request has an error. |
void |
execute(IPDIDebugger debugger)
Indicates this request is executing. |
java.lang.String |
getErrorMessage()
Returns error message of this request |
int |
getResponseAction()
Returns action type for action after completing this request |
int |
getStatus()
Returns the current status of this request |
TaskSet |
getTasks()
Returns a list of Task IDs |
void |
setStatus(int status)
Sets current status of this request |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.ptp.debug.core.pdi.request.IPDIEventRequest |
|---|
getName |
| Field Detail |
|---|
protected int status
protected TaskSet tasks
protected java.lang.String message
| Constructor Detail |
|---|
public AbstractEventRequest(TaskSet tasks)
| Method Detail |
|---|
public void cancel()
IPDIEventRequestdone() to indicate the request is
complete.
cancel in interface IPDIEventRequest
public boolean completed(TaskSet cTasks,
java.lang.Object result)
IPDIEventRequest
completed in interface IPDIEventRequestpublic void done()
IPDIEventRequest
done in interface IPDIEventRequestpublic void error(java.lang.String message)
IPDIEventRequest
error in interface IPDIEventRequestmessage - error messagepublic void execute(IPDIDebugger debugger)
IPDIEventRequest
execute in interface IPDIEventRequestpublic java.lang.String getErrorMessage()
IPDIEventRequest
getErrorMessage in interface IPDIEventRequestpublic int getResponseAction()
IPDIEventRequest
getResponseAction in interface IPDIEventRequestpublic int getStatus()
IPDIEventRequest
getStatus in interface IPDIEventRequestpublic TaskSet getTasks()
IPDISet
getTasks in interface IPDISetpublic void setStatus(int status)
IPDIEventRequest
setStatus in interface IPDIEventRequestpublic java.lang.String toString()
toString in class java.lang.Object
protected abstract void doExecute(IPDIDebugger debugger)
throws PDIException
debugger -
PDIException
protected abstract void doFinish()
throws PDIException
PDIException
|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||