Interface HostingServiceFactory


public interface HostingServiceFactory
Factory to create HostingService instances.
  • Method Details

    • createHostingService

      HostingService createHostingService(WsDiscoveryTargetService targetService)
      Creates a hosting service.
      Parameters:
      targetService - WS-Discovery target service information used by the hosting service.
      Returns:
      a HostingService instance for targetService.
    • createHostingServiceProxy

      HostingServiceProxy createHostingServiceProxy(String endpointReferenceAddress, List<QName> types, org.somda.sdc.dpws.model.ThisDeviceType thisDevice, org.somda.sdc.dpws.model.ThisModelType thisModel, Map<String,HostedServiceProxy> hostedServices, long metadataVersion, RequestResponseClient requestResponseClient, String activeXAddr)
      Creates a hosting service proxy.
      Parameters:
      endpointReferenceAddress - endpoint reference address of the hosting service (unique device identifier).
      types - list of types of the hosting service.
      thisDevice - ThisDevice information of the hosting service.
      thisModel - ThisModel information of the hosting service.
      hostedServices - map of service ids to hosted service proxies.
      metadataVersion - metadata version used for hosting service. todo DGr remove version, bc unreliable info
      requestResponseClient - request-response client to be used to access the hosting service.
      activeXAddr - physical address that was used to retrieve the hosting service proxy information.
      Returns:
      a HostingServiceProxy instance.