|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmars.mips.hardware.AccessNotice
public abstract class AccessNotice
Object provided to Observers of runtime access to MIPS memory or registers. The access types READ and WRITE defined here; use subclasses defined for MemoryAccessNotice and RegisterAccessNotice. This is abstract class.
Field Summary | |
---|---|
static int |
READ
Indicates the purpose of access was to read. |
static int |
WRITE
Indicates the purpose of access was to write. |
Constructor Summary | |
---|---|
protected |
AccessNotice(int type)
|
Method Summary | |
---|---|
boolean |
accessIsFromGUI()
Query whether the access originated from MARS GUI (AWT event queue) |
boolean |
accessIsFromMIPS()
Query whether the access originated from executing MIPS program |
int |
getAccessType()
Get the access type: READ or WRITE. |
Thread |
getThread()
Get reference to thread that created this notice |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int READ
public static final int WRITE
Constructor Detail |
---|
protected AccessNotice(int type)
Method Detail |
---|
public int getAccessType()
public Thread getThread()
public boolean accessIsFromGUI()
public boolean accessIsFromMIPS()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |