CRecordNanoServiceAddObserver
Add an observer to a nano service via message.
This is a nano service registered in the SYSTEM namespace.
{
"id": "3ef55427-74c2-4919-bc43-ec13358566f3",
"name": "NANO_SERVICE_ADD_OBSERVER",
"isNanoService": "true",
"namespaces": "SYSTEM",
"description": "Add one observer to a nano service.",
"slots": [
{
"key": "nid",
"name": "NID",
"direction": "REQUEST",
"presenceConstraint": "MANDATORY",
"type": "ID",
"description": "The namespace ID."
},
{
"key": "obs",
"name": "OBSERVER",
"direction": "REQUEST",
"presenceConstraint": "MANDATORY",
"type": "TARGET_ADDRESS",
"description": "The observer target address."
},
{
"key": "sid",
"name": "SID",
"direction": "REQUEST",
"presenceConstraint": "MANDATORY",
"type": "ID",
"description": "The nano service ID for which an observer shall be added."
}
]
}
Related Pages
CRecordNanoServiceNotifyObserverRemoved
CRecordNanoServiceNotifyObserverRemoved message: Notification from the Nano Service Monitor in nyssr.net when an observer is removed from a nano service.
CRecordNanoServiceNotifyObserverAdded
CRecordNanoServiceNotifyObserverAdded message: Notification from the Nano Service Monitor in nyssr.net when an observer is added to a nano service.
How to register a nano service
earn how to register Nano Services in nyssr.net using the Nano Service Registry, ServiceStarter, and filtering for the SYSTEM Namespace.
CRecordNanoServiceGetServiceInfo
CRecordNanoServiceGetServiceInfo nano service: Retrieve detailed information about registered nyssr.net services, including name, status, and observers.
CRecordNanoServiceNotifyServiceRegistered
CRecordNanoServiceNotifyServiceRegistered message: Notification sent by the Nano Service Monitor in nyssr.net when a new service is registered.
CRecordNanoServiceNotifyServiceDeregistered
CRecordNanoServiceNotifyServiceDeregistered message: Notification sent by the Nano Service Monitor in nyssr.net when a service is removed.