public interface ModbusMessage extends Transportable
| Modifier and Type | Method and Description |
|---|---|
int |
getDataLength()
Returns the length of the data appended
after the protocol header.
|
int |
getFunctionCode()
Returns the function code of this
ModbusMessage as int.
|
String |
getHexMessage()
Returns the raw message as String
containing a hexadecimal series of bytes.
|
int |
getProtocolID()
Returns the protocol identifier of this
ModbusMessage as int.
|
int |
getTransactionID()
Returns the transaction identifier of this
ModbusMessage as int.
|
int |
getUnitID()
Returns the unit identifier of this
ModbusMessage as int.
|
void |
setHeadless()
Sets the flag that marks this ModbusMessage as headless
(for serial transport).
|
getOutputLength, readFrom, writeTovoid setHeadless()
int getTransactionID()
int getProtocolID()
int getDataLength()
int getUnitID()
int getFunctionCode()
ModbusString getHexMessage()
Copyright © 2017. All rights reserved.