class PlaceOS::Core::ProcessManager::Local
- PlaceOS::Core::ProcessManager::Local
- Reference
- Object
Included Modules
Defined in:
placeos-core/process_manager/local.crConstant Summary
-
Log =
::Log.for(self)
Constructors
Instance Method Summary
- #execute(module_id : String, payload : String | IO, user_id : String | Nil)
- #load(module_id : String, driver_key : String)
-
#on_exec(request : Request, response_callback : Request -> )
Handler for execute requests from a module
-
#on_system_model(request : Request, response_callback : Request -> )
Handler for retrieving
PlaceOS::Model::ControlSystem
s for logic modules -
#which_core(module_id : String) : URI
Used in
#on_exec
for locating the remote module
Instance methods inherited from module PlaceOS::Core::ProcessManager::Common
debug(module_id : String, &on_message : DebugCallback)
debug,
driver_key_for?(module_id) : String | Nil
driver_key_for?,
driver_loaded?(driver_key : String) : Bool
driver_loaded?,
driver_status(driver_key : String) : DriverStatus | Nil
driver_status,
execute(module_id : String, payload : String | IO, user_id : String | Nil)
execute,
ignore(module_id : String, &on_message : DebugCallback)ignore(module_id : String) : Array(DebugCallback) ignore, kill(driver_key : String) : Bool kill, loaded_modules : Hash(String, Array(String)) loaded_modules, module_loaded?(module_id : String) : Bool module_loaded?, path_for?(module_id) : Path | Nil path_for?, remove_driver_manager(key) remove_driver_manager, run_count : Count run_count, start(module_id : String, payload : String) start, stop(module_id : String) stop, system_status : SystemStatus system_status, unload(module_id : String) unload
Macros inherited from module PlaceOS::Core::ProcessManager::Common
module_error(module_id, exception)
module_error
Instance methods inherited from module PlaceOS::Core::ProcessManager
attach_debugger(module_id : String, socket : HTTP::WebSocket)
attach_debugger,
debug(module_id : String, &_on_message : DebugCallback)
debug,
driver_loaded?(driver_key : String) : Bool
driver_loaded?,
driver_status(driver_key : String) : DriverStatus | Nil
driver_status,
execute(module_id : String, payload : String, user_id : String | Nil)
execute,
ignore(module_id : String, &_on_message : DebugCallback)ignore(module_id : String) : Array(DebugCallback) ignore, kill(driver_key : String) kill, load(module_id : String, driver_key : String) load, loaded_modules loaded_modules, module_loaded?(module_id : String) : Bool module_loaded?, on_exec(request : Request, response_callback : Request -> ) on_exec, on_setting(id : String, setting_name : String, setting_value : YAML::Any) on_setting, on_system_model(request : Request, response_callback : Request -> ) on_system_model, run_count : Count run_count, start(module_id : String, payload : String) start, stop(module_id : String) stop, system_status : SystemStatus system_status, unload(module_id : String) unload
Class methods inherited from module PlaceOS::Core::ProcessManager
path_to_key(path : String) : String
path_to_key
Constructor Detail
Instance Method Detail
Description copied from module PlaceOS::Core::ProcessManager
Handler for execute requests from a module
Description copied from module PlaceOS::Core::ProcessManager
Handler for retrieving PlaceOS::Model::ControlSystem
s for logic modules