Class TcpConnectionBuilder


  • public class TcpConnectionBuilder
    extends ConnectionBuilder<TcpConnectionBuilder>
    Builder class to establish a DLMS connection via TCP/IP protocol suite. This includes the transport layers TCP and UDP.
    • Constructor Detail

      • TcpConnectionBuilder

        public TcpConnectionBuilder​(java.net.InetAddress inetAddress)
        Construct a TcpConnectionBuilder with client ID 1, logical device address 16 and a default TCP port 4059.
        Parameters:
        inetAddress - the Internet address of the remote meter.
      • TcpConnectionBuilder

        public TcpConnectionBuilder​(java.lang.String inetAddress)
                             throws java.net.UnknownHostException
        Throws:
        java.net.UnknownHostException