WorkspaceD

WorkspaceD instance holding plugins.

Constructors

this
this()
Undocumented in source.

Members

Classes

Instance
class Instance
Undocumented in source.

Functions

addInstance
Instance addInstance(string cwd, Configuration configOverrides, string[] preloadComponents)

Creates a new workspace with the given cwd with optional config overrides and preload components for non-autoRegister components.

attach
bool attach(Instance instance, string component)
Undocumented in source. Be warned that the author may not have intended to support it.
broadcast
void broadcast(WorkspaceD.Instance instance, JSONValue value)
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get()
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get(string cwd)
Undocumented in source. Be warned that the author may not have intended to support it.
getInstance
Instance getInstance(string cwd)
Undocumented in source. Be warned that the author may not have intended to support it.
has
bool has()
Undocumented in source. Be warned that the author may not have intended to support it.
has
bool has(string cwd)
Undocumented in source. Be warned that the author may not have intended to support it.
register
ComponentFactory register(bool autoRegister)
Undocumented in source. Be warned that the author may not have intended to support it.
removeInstance
bool removeInstance(string cwd)
Undocumented in source. Be warned that the author may not have intended to support it.
run
Future!JSONValue run(string cwd, string component, string method, JSONValue[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
run
Future!JSONValue run(string component, string method, JSONValue[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
shutdown
void shutdown()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

components
ComponentFactoryInstance[] components;
Undocumented in source.
globalComponents
ComponentWrapperInstance[] globalComponents;
Undocumented in source.
globalConfiguration
Configuration globalConfiguration;

Base global configuration for new instances, does not modify existing ones.

instances
Instance[] instances;
Undocumented in source.
onBindFail
ComponentBindFailCallback onBindFail;
Undocumented in source.
onBroadcast
BroadcastCallback onBroadcast;
Undocumented in source.
stringCache
StringCache stringCache;
Undocumented in source.

Meta