public class ModbusConnectionFactory extends Object
| Constructor and Description |
|---|
ModbusConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ModbusConnection |
getASCII(SerialPort serial) |
static ModbusConnection |
getRTU(SerialPort serial) |
static ModbusConnection |
getTcpMaster(TcpParameters tcpParameters) |
static ModbusConnection |
getTcpSlave(Socket socket) |
public static ModbusConnection getASCII(SerialPort serial)
public static ModbusConnection getRTU(SerialPort serial)
public static ModbusConnection getTcpMaster(TcpParameters tcpParameters)
public static ModbusConnection getTcpSlave(Socket socket) throws ModbusIOException
ModbusIOExceptionCopyright © 2018. All rights reserved.