Interface IBaSyxConnector

  • All Known Implementing Classes:
    BaSyxConnector, HTTPConnector, HTTPSConnector

    public interface IBaSyxConnector
    Connector interface for technology specific communication. Returns the response including meta information
    Author:
    pschorn
    • Method Detail

      • getValue

        String getValue​(String path)
                 throws ProviderException
        Get a sub model property value
        Parameters:
        path - Path to the requested value
        Returns:
        Property value. Object type is assumed to be [Integer | ... | Collection]
        Throws:
        ProviderException
      • createValue

        String createValue​(String path,
                           String newEntity)
                    throws ProviderException
        Create a new property, operation, event submodel or aas under the given path
        Parameters:
        path - Path to the entity where the element should be created
        newEntity - new Element to be created on the server
        Throws:
        ProviderException
      • deleteValue

        String deleteValue​(String path)
                    throws ProviderException
        Delete a property, operation, event, submodel or aas under the given path
        Parameters:
        path - Path to the entity that should be deleted
        Throws:
        ProviderException
      • getEndpointRepresentation

        String getEndpointRepresentation​(String path)
        Get string representation of endpoint for given path for debugging.
        Parameters:
        path - Requested path
        Returns:
        String representing requested endpoint