public static class MBusConnection.MBusSerialBuilder extends SerialBuilder<MBusConnection,MBusConnection.MBusSerialBuilder>
Modifier | Constructor and Description |
---|---|
protected |
MBusSerialBuilder(java.lang.String serialPortName) |
Modifier and Type | Method and Description |
---|---|
MBusConnection |
build()
This return an active M-Bus connection.
|
buildTransportLayer, setBaudrate, setDataBits, setParity, setSerialPortName, setStopBits
self, setTimeout
public MBusConnection build() throws java.io.IOException
Builder
build
in class Builder<MBusConnection,MBusConnection.MBusSerialBuilder>
java.io.IOException
- if an I/O exception occurred opening the connection to the remote device.