Interface HostingService

  • All Implemented Interfaces:
    org.somda.sdc.dpws.soap.interception.Interceptor

    
    public interface HostingService
     implements Interceptor
                        

    Hosting service information of a device.

    The hosting service information is tightly coupled to the WS-Discovery target service information.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract String getEndpointReferenceAddress() Gets the unique WS-Discovery target service EPR.
      abstract List<String> getXAddrs() Gets the XAddrs list of the hosting service.
      abstract ThisModelType getThisModel() Gets ThisModel information.
      abstract void setThisModel(ThisModelType thisModel) Sets ThisModel information as defined in DPWS.
      abstract ThisDeviceType getThisDevice() Gets ThisDevice information.
      abstract void setThisDevice(ThisDeviceType thisDevice) Set ThisDevice information as defined in DPWS.
      abstract void addHostedService(HostedService hostedService) Adds a hosted service to this hosting service.
      abstract List<HostedService> getHostedServices() Gets registered hosted services.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getEndpointReferenceAddress

         abstract String getEndpointReferenceAddress()

        Gets the unique WS-Discovery target service EPR.

        As defined in dpws:R0004, the URI is a UUID IRI.

        Returns:

        the EPR address.

      • getXAddrs

         abstract List<String> getXAddrs()

        Gets the XAddrs list of the hosting service.

        Returns:

        Physical addresses the hosting service is reachable from. Forwards addresses from WS-Discovery XAddr field.

      • getThisModel

         abstract ThisModelType getThisModel()

        Gets ThisModel information.

        Returns:

        ThisModel information as defined in DPWS.

      • setThisModel

         abstract void setThisModel(ThisModelType thisModel)

        Sets ThisModel information as defined in DPWS.

        Parameters:
        thisModel - ThisModel information.
      • getThisDevice

         abstract ThisDeviceType getThisDevice()

        Gets ThisDevice information.

        Returns:

        ThisDevice information as defined in DPWS.

      • setThisDevice

         abstract void setThisDevice(ThisDeviceType thisDevice)

        Set ThisDevice information as defined in DPWS.

        Parameters:
        thisDevice - ThisDevice information.