The factory infrastructure can be inspected and steered with the commands provided here.

MODULE factories;

COMMAND factories.getArrival():bat[:timestamp];
COMMENT "Retrieve the time stamp the last call was made.";

COMMAND factories.getCaller():int;
COMMENT "Retrieve the unique identity of the factory caller.";

COMMAND factories.getDeparture():bat[:timestamp];
COMMENT "Retrieve the time stamp the last answer was returned.";

COMMAND factories.getOwners():bat[:str];
COMMENT "Retrieve the factory owners table.";

COMMAND factories.getPlants() (X_0:bat[:str], X_1:bat[:str]);
COMMENT "Retrieve the names for all active factories.";

PATTERN factories.shutdown(X_0:str, X_1:str):void;
COMMENT "Close a factory.";