krn.AppsEventsSubscribe

This job causes the server to send notifications (notifications) for the specified events to the caller.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Currently not supported — pass 0.

Events

STRING

Yes

Semicolon-separated events for which notifications are to be subscribed:
krn.SessionLogin, krn.SessionLogout, krn.Connected, krn.Disconnected, krn.JobCall, krn.Executor

2. Return Value

(INT): 0 = Job successful, otherwise error code.

On the test server this job returned 0 but delivered no events — even when the subscription was made on the same session as a callback channel. The working server-wide event stream is krn.RegisterJobCall (see also krn.GetChannelGUID, section "Callback channel").