public interface ICDIMemoryBlock extends ICDIObject
Modifier and Type | Field and Description |
---|---|
static byte |
READ_ONLY
Bit mask used to indicate a byte is read-only.
|
static byte |
VALID
Bit mask used to indicate a byte is valid.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Returns the values of the bytes currently contained
in this this memory block.
|
byte |
getFlags(int offset)
Returns this memory byte's attribute as a bit mask.
|
long |
getLength()
Returns the length of this memory block in bytes.
|
java.math.BigInteger |
getStartAddress()
Returns the start address of this memory block.
|
int |
getWordSize()
This method is a misnomer.
|
boolean |
isFrozen() |
void |
refresh()
Refresh the data, this may cause events to be trigger
if the data values changed.
|
void |
setFrozen(boolean frozen)
A memoryBlock set frozen means that the block will
not update and check for new data.
|
void |
setValue(long offset,
byte[] bytes)
Sets the value of the bytes in this memory block at the specified
offset within this memory block to the spcified bytes.
|
getTarget
static final byte READ_ONLY
static final byte VALID
java.math.BigInteger getStartAddress()
long getLength()
int getWordSize()
byte[] getBytes() throws CDIException
CDIException
- if this method fails. Reasons include:
byte getFlags(int offset)
void setValue(long offset, byte[] bytes) throws CDIException
offset
- the offset at which to set the new valuesbytes
- the new valuesCDIException
- if this method fails. Reasons include:
boolean isFrozen()
void setFrozen(boolean frozen)
frozen
- the block is frozen by default.void refresh() throws CDIException
CDIException
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.