Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
ref:mqtt [2023/09/09 17:03] – [Control] Add node/+/msg topic digital man | ref:mqtt [2024/01/12 17:30] – [Servers] Add pause and resume server topics digital man | ||
---|---|---|---|
Line 105: | Line 105: | ||
The //status// of each server is published to its server topic, for example: | The //status// of each server is published to its server topic, for example: | ||
- | sbbs/ | + | sbbs/ |
- | The numeric | + | The //state// (first field of status) for each server is one of: |
+ | * stopped | ||
+ | * initializing | ||
+ | * ready | ||
+ | * paused | ||
+ | * reloading | ||
+ | * stopping | ||
+ | * disconnected | ||
- | The server status contains more details/ | + | The server status contains more details/ |
Publishing any message to the **recycle** sub-topic of any server topic will initiate a recycling of that server. | Publishing any message to the **recycle** sub-topic of any server topic will initiate a recycling of that server. | ||
+ | Publishing any message to the **pause** sub-topic of any server topic will prevent that server from accepting any new incoming client connections. | ||
+ | Publishing any message to the **resume** sub-topic of any server topic will un-pause that server, returning to the " | ||
Each server topic has the following sub-topics for status reporting: | Each server topic has the following sub-topics for status reporting: | ||
- | * sbbs/ | + | * sbbs/ |
- | * sbbs/ | + | * sbbs/ |
+ | * sbbs/ | ||
+ | * sbbs/ | ||
+ | * sbbs/ | ||
* sbbs/ | * sbbs/ | ||
* sbbs/ | * sbbs/ | ||
- | * sbbs/ | ||
- | * sbbs/ | ||
==== Logs ==== | ==== Logs ==== |