module Cisco::CollaborationEndpoint
Direct including types
Defined in:
cisco/collaboration_endpoint.crInstance Method Summary
-
#bind_feedback(path : String, status_key : String)
Bind arbitary device feedback to a status variable.
-
#bind_status(path : String, status_key : String)
Bind device status to a module status variable.
-
#clear_event(path : String)
Clear external event subscribtions for a specific device path.
- #clear_feedback_subscriptions(connected : Bool = true)
- #connected
- #disconnected
- #ensure_feedback_registered
- #feedback_paths : Array(String)
- #generate_request_uuid
-
#on_event(path : String, mod_id : String, channel : String)
Subscribe another module to async device events.
- #on_load
- #on_update
- #peripheral_id : String
- #push_config
- #received(data, task)
-
#register_feedback(path : String, &update_handler : Proc(String, Enumerable::JSONComplex, Nil))
Subscribe to feedback from the device.
- #sync_config
- #unregister_feedback(path : String)
-
#xcommand(command : String, multiline_body : String | Nil = nil, hash_args : Hash(String, JSON::Any::Type) = {} of String => JSON::Any::Type, **kwargs)
Execute an xCommand on the device.
-
#xconfiguration(path : String, hash_args : Hash(String, JSONBasic) = {} of String => JSONBasic, **kwargs)
Apply a single configuration on the device.
-
#xconfigurations(config : Config)
Push a configuration settings to the device.
- #xstatus(path : String)
Instance Method Detail
def bind_feedback(path : String, status_key : String)
#
Bind arbitary device feedback to a status variable.
def bind_status(path : String, status_key : String)
#
Bind device status to a module status variable.
def on_event(path : String, mod_id : String, channel : String)
#
Subscribe another module to async device events. Callback methods must be of arity 1 and public.
def register_feedback(path : String, &update_handler : Proc(String, Enumerable::JSONComplex, Nil))
#
Subscribe to feedback from the device.
def xcommand(command : String, multiline_body : String | Nil = nil, hash_args : Hash(String, JSON::Any::Type) = {} of String => JSON::Any::Type, **kwargs)
#
Execute an xCommand on the device.