module Cisco::CollaborationEndpoint

Direct including types

Defined in:

cisco/collaboration_endpoint.cr

Instance Method Summary

Instance Method Detail

def bind_feedback(path : String, status_key : String) #

Bind arbitary device feedback to a status variable.


[View source]
def bind_status(path : String, status_key : String) #

Bind device status to a module status variable.


[View source]
def clear_event(path : String) #

Clear external event subscribtions for a specific device path.


[View source]
def clear_feedback_subscriptions(connected : Bool = true) #

[View source]
def connected #

[View source]
def disconnected #

[View source]
def ensure_feedback_registered #

[View source]
def feedback_paths : Array(String) #

[View source]
def generate_request_uuid #

[View source]
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.


[View source]
def on_load #

[View source]
def on_update #

[View source]
def peripheral_id : String #

[View source]
def push_config #

[View source]
def received(data, task) #

[View source]
def register_feedback(path : String, &update_handler : Proc(String, Enumerable::JSONComplex, Nil)) #

Subscribe to feedback from the device.


[View source]
def sync_config #

[View source]
def unregister_feedback(path : String) #

[View source]
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.


[View source]
def xconfiguration(path : String, hash_args : Hash(String, JSONBasic) = {} of String => JSONBasic, **kwargs) #

Apply a single configuration on the device.


[View source]
def xconfigurations(config : Config) #

Push a configuration settings to the device.


[View source]
def xstatus(path : String) #

[View source]