Interface HostingServiceProxy
-
- All Implemented Interfaces:
-
org.somda.sdc.dpws.soap.RequestResponseClient,org.somda.sdc.dpws.soap.interception.InterceptorHandler
public interface HostingServiceProxy implements RequestResponseClient
Hosting service proxy of a client.
-
-
Method Summary
Modifier and Type Method Description abstract StringgetEndpointReferenceAddress()Gets the unique WS-Discovery target service EPR. abstract List<QName>getTypes()Gets types of the hosting service. abstract Optional<ThisModelType>getThisModel()Gets the DPWS ThisModel information. abstract Optional<ThisDeviceType>getThisDevice()Gets the DPWS ThisDevice information. abstract Map<String, HostedServiceProxy>getHostedServices()Gets all hosted service proxies. abstract StringgetActiveXAddr()Gets the physical address that is actively being used to send requests. abstract RequestResponseClientgetRequestResponseClient()-
Methods inherited from class org.somda.sdc.dpws.soap.RequestResponseClient
sendRequestResponse -
Methods inherited from class org.somda.sdc.dpws.soap.interception.InterceptorHandler
register -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getEndpointReferenceAddress
abstract String getEndpointReferenceAddress()
Gets the unique WS-Discovery target service EPR.
If TLS is enforced, the value of the endpoint reference address as returned by this function is trustworthy (opposed to getEprAddress, which is potentially retrieved via unsecured UDP).
- Returns:
WS-Discovery target service EPR.
-
getTypes
abstract List<QName> getTypes()
Gets types of the hosting service.
- Returns:
list of types, which classifies the hosting service.
-
getThisModel
abstract Optional<ThisModelType> getThisModel()
Gets the DPWS ThisModel information.
- Returns:
ThisModel information.
-
getThisDevice
abstract Optional<ThisDeviceType> getThisDevice()
Gets the DPWS ThisDevice information.
- Returns:
ThisDevice information.
-
getHostedServices
abstract Map<String, HostedServiceProxy> getHostedServices()
Gets all hosted service proxies.
- Returns:
all hosted services.
-
getActiveXAddr
abstract String getActiveXAddr()
Gets the physical address that is actively being used to send requests.
A hosting service can have different physical addresses in order to be accessible. The one that is returned with this function is the one that was used to initially resolve metadata (GetTransfer requests).
- Returns:
the currently active EPR address.
-
getRequestResponseClient
abstract RequestResponseClient getRequestResponseClient()
-
-
-
-