| Package | Description |
|---|---|
| com.ghgande.j2mod.modbus.slave |
| Modifier and Type | Method and Description |
|---|---|
ModbusSlaveType |
ModbusSlave.getType()
Returns the type of this slave
|
static ModbusSlaveType |
ModbusSlaveType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModbusSlaveType[] |
ModbusSlaveType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static ModbusSlave |
ModbusSlaveFactory.getSlave(ModbusSlaveType type,
int port)
Returns the running slave listening on the given port
|
static ModbusSlave |
ModbusSlaveFactory.getSlave(ModbusSlaveType type,
String port)
Returns the running slave listening on the given port
|
boolean |
ModbusSlaveType.is(ModbusSlaveType... types)
Returns true if this type is one of those listed
|
Copyright © 2025. All Rights Reserved.