C.3.2.3 Interface Definitions
In this subsection we present the operations of the IoT Service Resolution
functional component, i.e., resolve service, look up service, discover service,
insert service, update service and delete service.
Interface Definition: Resolve Service
Input:
Illustrative
Action
Calling
Component
Called
Component
Name of the
functionality
Parameters Prerequisite
―Resolve
Service
Identifier to
URL‖ Use
Case
IoT Service
Client
IoT Service
Resolution
resolveService:
given the
ServiceID
provide the
URL required
for accessing
the service
ServiceID ServiceID
available
Output:
Functionality
Output
Impacted
Components
Return value Exception
URL of the
Service
- Service URL Service URL
not available
Interface Definition: Subscribe Service Resolution
Input:
Illustrative
Action
Calling
Component
Called
Component
Name of the
functionality
Parameters Prerequisite
―Subscribe
to Resolution
of Service
Identifier to
URL‖ Use
Case
IoT Service
Client
IoT Service
Resolution
subscribeService-
Resolution: given the
ServiceID
asynchronously
notify the IoT Service
Client about the
service URL required
for accessing the
service as a result of
the subscription and
on any change
ServiceID
Notification-
Callback
ServiceID
available
Notification-
Callback and
notifyService
Resolution
implemented
on the IoT
Service
Client side