Starting with SpecTcl 5.10, SpecTcl can, in conjunction with remote clients, maintain one or more mirrors of its display memory in remote systems. This allows displayers to be run in those remote systems. The set of mirrors can be queried in order to avoid producing duplicate mirrors in the a single remote system.
URLs of the form:
Returns as the detail section of the response an array of mirrors.
If the optional pattern is supplied, this
list is limited to those whose hosts match host-pattern.
host-pattern can have glob wildcard
characters.
The detail of the response is an array of objects. Each object has the following attributes:
Identifies a host to which mirroring is being done.
Provides the SYS-V shared memory key identifying the mirror in that host.
If the optional pattern parameter is provided,
only hosts which match the pattern (Glob wild cards allowed)
are listed.
The assumption is that a remote mirror client will first query SpecTcl's current mirrors via the REST server to determine if there is an existing mirror. If there is the client can map tothat memory directly. If not it can set up a new mirror.