Internet of Things Architecture

(Elliott) #1

C.3.2.2 Interaction Diagrams


The Interaction diagram related to the use cases of the IoT Service Resolution
functional component are depicted below.


Interaction Diagram: Resolution


For the resolution of a Service Identifier to the URL through which the service
can currently be accessed, an IoT-Service Client synchronously calls the IoT
Service Resolution component, using the resolveService operation with the
ServiceID of the service as parameter. The IoT Service Resolution resolves the
ServiceID, providing the requested URL as the return value.


IoT-Service
Client

(from WP4
Interactions)

IoT Service
Resolution

(from WP4
Interactions)

resolveService(ServiceID) :URL

Figure 122 : Resolve Service Identifier to URL.

Interaction Diagram: Subscribe to Resolution


For subscribing to asynchronously receive notifications about the current
service URL of a service identified by its service identifier, an IoT Service Client
synchronously calls the IoT Service Resolution, using the
subscribeServiceResolution operation with the Service ID of the service and the
notification callback, to which notifications are to be sent, as parameters. The
notification callback identifies the endpoint on the IoT Service Client side that
implements the notifyServiceResolution operation. The IoT Service Resolution
returns the subscription identifier that can be used to map an incoming
notification to the subscription it belongs to.

Free download pdf