public static class MBusConnection.MBusTcpBuilder extends TcpBuilder<MBusConnection,MBusConnection.MBusTcpBuilder>
Modifier | Constructor and Description |
---|---|
protected |
MBusTcpBuilder(java.lang.String hostAddress,
int port) |
Modifier and Type | Method and Description |
---|---|
MBusConnection |
build()
This return an active M-Bus connection.
|
buildTransportLayer, setConnectionTimeout, setHostAddress, setPort
self, setTimeout
public MBusConnection build() throws java.io.IOException
Builder
build
in class Builder<MBusConnection,MBusConnection.MBusTcpBuilder>
java.io.IOException
- if an I/O exception occurred opening the connection to the remote device.