Interface PlcDiscoveryItem


  • public interface PlcDiscoveryItem
    • Method Detail

      • getProtocolCode

        String getProtocolCode()
        Returns:
        returns the protocol-code part of the url (s7, modbus, ads, ...)
      • getTransportCode

        String getTransportCode()
        Returns:
        returns the transport part of the url (tcp, udp, serial, raw, ...)
      • getTransportUrl

        String getTransportUrl()
        Returns:
        returns the part of the url, the given transport needs in order to connect (plc.mycompany.de, 192.168.42.23, /dev/serial, COM1)
      • getOptions

        Map<String,​String> getOptions()
        Returns:
        returns a map of all configuration options (usually encoded after the transport url's "?" character (rack=1&slot=1, little-endian=true, ...)
      • getName

        String getName()
        Returns:
        returns something I bet made sense some time, but I have forgotten why I added it to plc4go ;-)
      • getAttributes

        Map<String,​PlcValue> getAttributes()
        Returns:
        returns a map of all additional attributes assigned to this item (Usually additional information, which is not directly needed for connecting, such as Versions, Names, Supported features etc.)
      • getConnectionUrl

        String getConnectionUrl()
        Returns:
        returns a plc4x connection string that can be used in any PLC4X driver to connect to the given device (Generally just a concatenation of the other parts of this object)