CRecordNanoServiceGetServiceInfo

Used to fetch information about registered nano services. This can be queried via a method of the nano service registry.

This is also a nano service registered in the SYSTEM namespace.

{
  "id": "850a6167-794b-414c-a566-dff1db2073db",
  "name": "NANO_SERVICE_GET_SERVICE_INFO",
  "isService": "true",
  "namespaces": "SYSTEM",
  "description": "Get nano service details.",
  "slots": [
    {
      "key": "exist",
      "name": "EXIST",
      "direction": "ANSWER",
      "mandatory": "true",
      "type": "BOOLEAN",
      "description": "True if service exist (is registered)."
    },
    {
      "key": "lt",
      "name": "LAST_TRIGGER",
      "direction": "ANSWER",
      "mandatory": "false",
      "type": "MESSAGE",
      "description": "The message of the last trigger."
    },
    {
      "key": "name",
      "name": "NAME",
      "direction": "ANSWER",
      "mandatory": "false",
      "type": "STRING",
      "description": "The name of the service."
    },
    {
      "key": "nid",
      "name": "NID",
      "direction": "REQUEST",
      "mandatory": "true",
      "type": "ID",
      "description": "The namespace ID."
    },
    {
      "key": "obs",
      "name": "OBSERVERS",
      "direction": "ANSWER",
      "mandatory": "false",
      "type": "TARGET_ADDRESS_ARRAY",
      "description": "Observer array."
    },
    {
      "key": "sid",
      "name": "SID",
      "direction": "REQUEST",
      "mandatory": "true",
      "type": "ID",
      "description": "The nano service ID."
    }
  ]
}

nyssr.net - Innovative Distributed System