Class DummyModbusBridge

    • Constructor Detail

      • DummyModbusBridge

        public DummyModbusBridge​(java.lang.String id)
    • Method Detail

      • addProtocol

        public void addProtocol​(java.lang.String sourceId,
                                ModbusProtocol protocol)
        Description copied from interface: BridgeModbus
        Adds a Protocol with a source identifier to this Modbus Bridge.
        Specified by:
        addProtocol in interface BridgeModbus
        Parameters:
        sourceId - the unique source identifier
        protocol - the Modbus Protocol
      • removeProtocol

        public void removeProtocol​(java.lang.String sourceId)
        Description copied from interface: BridgeModbus
        Removes a Protocol from this Modbus Bridge.
        Specified by:
        removeProtocol in interface BridgeModbus
        Parameters:
        sourceId - the unique source identifier
      • getIpAddress

        public java.net.InetAddress getIpAddress()
        Description copied from interface: BridgeModbusTcp
        Gets the IP address.
        Specified by:
        getIpAddress in interface BridgeModbusTcp
        Returns:
        the IP address