1
0
mirror of https://github.com/ubf/ubf.git synced 2026-04-17 18:26:23 +00:00
Files
ubf/server_plugin.con
Joseph Wayne Norton 3d1086071e import ubf-1.11.tgz
2009-04-11 23:55:00 +09:00

28 lines
594 B
Plaintext

+NAME("meta_server").
+VSN("ubf1.0").
+TYPES
info() = info;
description() = description;
services() = services;
contract() = contract;
serviceList() = [string()] "Names of the offered services";
help() = help;
startService() = {startService, string(), term()};
ok() = {ok, term()};
error() = {error, term()}.
+STATE start
help() => string() & start;
startService() => ok() & start
| error() & start.
+ANYSTATE
info() => string();
description() => string();
services() => serviceList();
contract() => term().