Interface HostingServiceAccess

  • All Known Implementing Classes:
    DeviceImpl

    public interface HostingServiceAccess
    Interface to access the hosting service provided by a Device.

    Important note: there is no support to remove or alter hosted services that have been added before.

    • Method Detail

      • setThisDevice

        void setThisDevice​(org.somda.sdc.dpws.model.ThisDeviceType thisDevice)
        Adds the ThisModel definition.

        According to the DPWS specification, certain information is limited in the number of characters:

        Attention: If those limits are exceeded, the underlying implementation may cut off overflowing characters.

        Parameters:
        thisDevice - the ThisModel information to set.
        See Also:
        4.1 Characteristics
      • setThisModel

        void setThisModel​(org.somda.sdc.dpws.model.ThisModelType thisModel)
        Updates the ThisModel definition.

        According to the DPWS specification, certain information is limited in the number of characters:

        Attention: If those limits are exceeded, the underlying implementation may cut off overflowing characters.

        Parameters:
        thisModel - the ThisModel information to set.
        See Also:
        4.1 Characteristics
      • addHostedService

        void addHostedService​(HostedService hostedService)
        Adds a hosted service definition.

        Attention: there is currently no mechanism that verifies if the hosted service was added before!

        Parameters:
        hostedService - the hosted service definition to add.