|
jamod at SF | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface implementing a non word data handler for the read/write multiple register commands (class 0).
| Method Summary | |
int |
commitUpdate()
Commits the data if it has been read into an intermediate repository. |
byte[] |
getData()
Returns the intermediate raw non-word data. |
int |
getWordCount()
Returns the word count of the data. |
void |
prepareData(int reference,
int count)
Prepares the raw data, putting it together from a backing data store. |
void |
readData(java.io.DataInput in,
int reference,
int count)
Reads the non-word raw data based on an arbitrary implemented structure. |
| Method Detail |
public byte[] getData()
public void readData(java.io.DataInput in,
int reference,
int count)
throws java.io.IOException,
java.io.EOFException
in - the DataInput to read from.reference - to specify the offset as int.count - to sepcify the amount of bytes as int.
java.io.IOException - if I/O fails.
java.io.EOFException - if the stream ends before all data is read.public int getWordCount()
public int commitUpdate()
public void prepareData(int reference,
int count)
reference - to specify the offset as int.count - to sepcify the amount of bytes as int.
|
jamod at SF | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||