Control worker

The channel does not contain any logic to manage the channel, such as creating new workers in response to incoming messages.

Instead, each channel is configured with a worker with a process identifier of "control", to which these messages are passed.

The standard control worker created when a new connection is made provides the following actions.

new

Create a new worker, using the New worker step type.

refreshGroups

Triggers the partner to refresh the groups associated with this connection. Typically used with a config connection.

getGroup

Gets details of a group associated with this connection. This has additional controls to prevent an untrusted partner from snooping on the connected groups.

getRemoteFileInfo

Get information about a file from a partner that can be used to retrieve the file on a different server. The information can be either a base64 representation of the file, or a temporary URL from which the file can be retrieved.

A channel can be configured with an alternative control worker, for example one that creates alternative workers that manage interaction by interfacing to another application, rather than manually. In this way, manual collaborative processes can be integrated with other collaboration software without modifying the originator processes or application.