roger v1.0.0 Roger.System

Listener for system-wide events.

On the AMQP side, the systemchannel declares a fanout exchange called ‘system’ and adds a private queue to it, which it consumes.

Summary

Functions

Execute a given command on all nodes, and wait for all nodes to return their values

Execute a given command on all nodes, does not wait for their completion

Return whether the node is connected to the AMQP broker

Functions

call(command, args \\ nil)

Execute a given command on all nodes, and wait for all nodes to return their values

cast(command, args \\ nil)

Execute a given command on all nodes, does not wait for their completion.

connected?()

Return whether the node is connected to the AMQP broker