public static class ReadFileRecordResponse.RecordResponse extends Object
| Constructor and Description |
|---|
RecordResponse(short[] data) |
| Modifier and Type | Method and Description |
|---|---|
SimpleRegister |
getRegister(int register) |
byte[] |
getResponse() |
void |
getResponse(byte[] request,
int offset)
getResponse - return the response data for this record
The response data is the byte size of the response, minus this
byte, the function code (6), then the raw byte data for the
registers (wordCount * 2 bytes).
|
int |
getResponseSize()
getResponseSize -- return the size of the response in bytes.
|
int |
getWordCount() |
public int getWordCount()
public SimpleRegister getRegister(int register)
public int getResponseSize()
public void getResponse(byte[] request,
int offset)
request - Request messageoffset - Offset into bufferpublic byte[] getResponse()
Copyright © 2025. All Rights Reserved.