public interface TcpModbusMessage
extends net.solarnetwork.io.modbus.ModbusMessage
| Modifier and Type | Field | Description |
|---|---|---|
static int |
MAX_TRANSACTION_ID |
The maximum transaction ID value.
|
| Modifier and Type | Method | Description |
|---|---|---|
default int |
getProtocolId() |
Get the protocol identifier.
|
long |
getTimestamp() |
Get a message creation date.
|
int |
getTransactionId() |
Get the transaction identifier.
|
default TcpModbusMessage |
validate() |
static final int MAX_TRANSACTION_ID
long getTimestamp()
int getTransactionId()
default int getProtocolId()
This implementation returns 0 for Modbus/TCP.
default TcpModbusMessage validate() throws net.solarnetwork.io.modbus.ModbusValidationException
validate in interface net.solarnetwork.io.modbus.ModbusMessagenet.solarnetwork.io.modbus.ModbusValidationException