These API’s are only usable by system implementations that use the AVE class library directly (instead of going through the broker), such as schedulers or tools that supervise labs.
This is the resource class allocated to sessions by the broker. The complete system API consitst of the following, plus all methods exposed in the client API. I.e. all client exposed methods can also be called directly on the actual workspace object.
Parameters: |
|
---|---|
Raises Exception: | |
If an error occured. |
Primarily used by networked brokers to communicate about currently existing workspaces.
Parameters: | values – A dictionary that contains profile data. All keys must be strings. |
---|
Check if this WorkspaceProfile is a match to the given profile, other.
Parameters: | other – The profile to match against. |
---|---|
Returns: | True if it is a match, otherwise False. |
Reduces self to whatever is in profile, plus the fields that are mandatory for the broker to set:
'type', 'root', 'tools'
Raises Exception: | |
---|---|
If self is not complete enough to be minimized. |
Note
This function is used by the broker to ensure that profiles that are thrown around the system contain enough information to let the system maintain a fully usable state (other profiles are caught as error indications during testing).