Interface PiPipeconfMappingStore

    • Method Detail

      • getPipeconfId

        PiPipeconfId getPipeconfId​(DeviceId deviceId)
        Retrieves the id of the pipeconf associated to a given device.
        Parameters:
        deviceId - device identifier
        Returns:
        PiPipeconfId
      • getDevices

        java.util.Set<DeviceId> getDevices​(PiPipeconfId pipeconfId)
        Retrieves the set of devices on which the given pipeconf is applied.
        Parameters:
        pipeconfId - pipeconf identifier
        Returns:
        the set of devices that have that pipeconf applied.
      • createOrUpdateBinding

        void createOrUpdateBinding​(DeviceId deviceId,
                                   PiPipeconfId pipeconfId)
        Stores or updates a binding between a device and the pipeconf deployed on it.
        Parameters:
        deviceId - deviceId
        pipeconfId - pipeconfId
      • removeBinding

        void removeBinding​(DeviceId deviceId)
        Removes device to pipeconf binding.
        Parameters:
        deviceId - deviceId