|
Distributed Publish Subscribe for IoT
|
Go to the source code of this file.
Functions | |
| DPS_Status | DPS_LinkTo (DPS_Node *node, const char *host, uint16_t port, DPS_NodeAddress *addr) |
| Synchronous helper APIs that wrap the asynchronous versions. More... | |
| DPS_Status | DPS_UnlinkFrom (DPS_Node *node, DPS_NodeAddress *addr) |
| Unlink from a previously linked remote node. More... | |
| DPS_Status DPS_LinkTo | ( | DPS_Node * | node, |
| const char * | host, | ||
| uint16_t | port, | ||
| DPS_NodeAddress * | addr | ||
| ) |
Synchronous helper APIs that wrap the asynchronous versions.
Resolve a host and port and establish a link to a remote node.
| node | The local node to link from |
| host | The host name or IP address to link to |
| port | The port number |
| addr | Returns the resolved address for the remote node |
| DPS_Status DPS_UnlinkFrom | ( | DPS_Node * | node, |
| DPS_NodeAddress * | addr | ||
| ) |
Unlink from a previously linked remote node.
| node | The local node to unlink from |
| addr | The address of the remote node to unlink |