|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jfrace.AddressSpaceEvent
Event which happens when a piece of hardware (either a
Device
or a CPU
)
is added or removed from an AddressSpace
.
Field Summary | |
static int |
ADD
Event type: add a piece of hardware. |
static int |
REMOVE
Event type: remove a piece of hardware. |
Constructor Summary | |
AddressSpaceEvent(AddressSpace anAddressSpace,
int aType,
int anAddressOffset,
int aModeMask,
Hardware aPieceOfHardware)
Create an event. |
Method Summary | |
int |
getAddressOffset()
Return the address offset of the added or removed hardware. |
AddressSpace |
getAddressSpace()
Return the address space from which a piece of hardware has been added or removed. |
Hardware |
getHardware()
Return the added or removed hardware. |
int |
getModeMask()
Return the mode mask of the added or removed device. |
int |
getType()
Return the type of action. |
java.lang.String |
toString()
Compose a string with all basic informations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ADD
public static final int REMOVE
Constructor Detail |
public AddressSpaceEvent(AddressSpace anAddressSpace, int aType, int anAddressOffset, int aModeMask, Hardware aPieceOfHardware)
anAddressSpace
- Address space from which (if
aType == REMOVE
) or to
which (if aType == ADD
)
aPieceOfHardware
has been
removed or added, resp.aType
- Type of action. Either ADD
or REMOVE
.anAddressOffset
- Address offset.aModeMask
- Mode mask. Only needed for devices.aPieceOfHardware
- Hardware which is either added or removed.Method Detail |
public AddressSpace getAddressSpace()
public int getType()
ADD
or REMOVE
.public int getAddressOffset()
public int getModeMask()
public Hardware getHardware()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |