class PlaceOS::Driver::Proxy::Driver
- PlaceOS::Driver::Proxy::Driver
- Reference
- Object
Defined in:
placeos-driver/proxy/driver.crConstructors
Macro Summary
-
method_missing(call)
Don't raise errors directly.
Instance Method Summary
- #[](status)
-
#[]=(status, value)
This deliberately prevents compilation if called from driver code
- #[]?(status)
- #__metadata__ : PlaceOS::Driver::DriverModel::Metadata
-
#__send__(function_name : String | Symbol, arguments : Array | Tuple = Tuple.new, named_args : NamedTuple | Hash = NamedTuple.new)
provide a programatic way of calling a remote function similar to Ruby array and hash types required for dynamic invocation across drivers
- #__status__
- #__status_keys__
- #implements?(interface) : Bool
- #index : Int32
- #module_id : String
- #module_name : String
- #status(klass, key)
- #status?(klass, key)
-
#subscribe(status, &callback : PlaceOS::Driver::Subscriptions::IndirectSubscription, String -> Nil) : PlaceOS::Driver::Subscriptions::IndirectSubscription
All subscriptions to external drivers should be indirect as the driver might be swapped into a completely different system - whilst we've looked up the id of this instance of a driver, it's expected that this object is short lived
Constructor Detail
Macro Detail
Don't raise errors directly. Ensure they are logged and raise if the response is requested
Instance Method Detail
provide a programatic way of calling a remote function similar to Ruby array and hash types required for dynamic invocation across drivers
All subscriptions to external drivers should be indirect as the driver might be swapped into a completely different system - whilst we've looked up the id of this instance of a driver, it's expected that this object is short lived