Class Rest

    • Method Detail

      • send

        public void send​(List<Data> data)
        Description copied from interface: NetworkAdapter
        Sends data which are wrapped by DataWrappers, there fore in String format.
        Specified by:
        send in interface NetworkAdapter
        Parameters:
        data - data to be send
      • setDataWrapper

        public void setDataWrapper​(DataWrapper dataWrapper)
        Description copied from interface: NetworkAdapter
        Sets DataWrapper for Device, which allows to transform generated data and important information about its origin to common data structures e.g. JSON, XML, for better manipulation.
        Specified by:
        setDataWrapper in interface NetworkAdapter
        Parameters:
        dataWrapper - instance of DataWrapper
      • getEndpoint

        public String getEndpoint()
      • setEndpoint

        public void setEndpoint​(String endpoint)