|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.sim.util.TransactionalList avrora.sim.util.MulticastExceptionWatch
An ExceptionWatch
implementation which rebroadcasts the events to multiple
ExceptionWatch
instances.
Nested Class Summary |
Nested classes inherited from class avrora.sim.util.TransactionalList |
TransactionalList.Link |
Field Summary |
Fields inherited from class avrora.sim.util.TransactionalList |
head, nesting, tail, transHead, transTail |
Constructor Summary | |
MulticastExceptionWatch()
|
Method Summary | |
void |
invalidRead(java.lang.String segment,
int address)
The invalidRead() method is invoked when an instruction attempts to read from
an out-of-bounds memory location. |
void |
invalidWrite(java.lang.String segment,
int address,
byte value)
The invalidWrite() method is invoked when an instruction attempts to write to
a read-only or out-of-bounds memory location. |
Methods inherited from class avrora.sim.util.TransactionalList |
add, beginTransaction, endTransaction, isEmpty, remove |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MulticastExceptionWatch()
Method Detail |
public void invalidRead(java.lang.String segment, int address)
Simulator.ExceptionWatch
invalidRead()
method is invoked when an instruction attempts to read from
an out-of-bounds memory location.
invalidRead
in interface Simulator.ExceptionWatch
segment
- The segment the instruction attempted to read from.address
- The address within the segment of the attempted read.public void invalidWrite(java.lang.String segment, int address, byte value)
Simulator.ExceptionWatch
invalidWrite()
method is invoked when an instruction attempts to write to
a read-only or out-of-bounds memory location.
invalidWrite
in interface Simulator.ExceptionWatch
segment
- The segment the instruction attempted to write into.address
- The address within the segment of the disallowed write.value
- The value the instruction attempted to write.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |