4,494
edits
(→Misc: +Error-guards) |
No edit summary |
||
Line 188: | Line 188: | ||
But even in such a case the problem should be communicated. I found the idea of a watchdog application very useful, which, among other tasks, is listening to UDP telegrams on a particular port. An application in trouble can then send a telegram to the watchdog, telling about the problem. Using a type of error class, the client can tell the watchdog about the seriousness of the problem, and the watchdog can then decide to simply display it on it's GUI or send a SMS message or/and an email to the admin. | But even in such a case the problem should be communicated. I found the idea of a watchdog application very useful, which, among other tasks, is listening to UDP telegrams on a particular port. An application in trouble can then send a telegram to the watchdog, telling about the problem. Using a type of error class, the client can tell the watchdog about the seriousness of the problem, and the watchdog can then decide to simply display it on it's GUI or send a SMS message or/and an email to the admin. | ||
== Code == | == Code == | ||
Line 789: | Line 768: | ||
</source> | </source> | ||
}} | }} | ||
== See also == | |||
* [[Dfn#Error-guards]] | |||
[[Category:Tutorials]][[Category:Dyalog APL examples]] | [[Category:Tutorials]][[Category:Dyalog APL examples]] |