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

Declarations

service_utils.occ:42Process connect.shared.service

PROC connect.shared.service (CT.SERVICE? link, SHARED LOG! log, BOOL ok, VAL []BYTE my.name, srv.name, RESULT SHARED MOBILE.CHAN srv)

Connect to a shared service.

This is used by one service to connect to another (shared) 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 SHARED MOBILE.CHAN srv Returned shared service connection.

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.