Module service - RMoX service infrastructure
RMoX service infrastructure. The service core is responsible for managing various services within RMoX. The command-line utility app:sctl can be used to start/stop/query services.
Index
-
Process
connect.service- Connect to an unshared service -
Process
connect.shared.service- Connect to a shared service
Declarations
service_utils.occ:93Process connect.service
PROC connect.service (CT.SERVICE? link, SHARED LOG! log, BOOL ok, VAL []BYTE my.name, srv.name, RESULT MOBILE.CHAN srv)
Connect to an unshared service.
This is used by one service to connect to another (unshared) service. The channel-end returned in srv is generic, and the caller should handle typing.
Parameters:
CT.SERVICE? |
link |
Connection to parent service (as server). |
SHARED LOG! |
log |
System log channels. |
BOOL |
ok |
Check and set for operation / success. |
VAL []BYTE |
my.name |
Name of the invoking service. |
VAL []BYTE |
srv.name |
Name of the target service. |
RESULT MOBILE.CHAN |
srv |
Returned service connection. |