class PlaceOS::Driver::Proxy::Subscriptions

Defined in:

placeos-driver/proxy/subscriptions.cr

Instance Method Summary

Instance Method Detail

def channel(name, &callback : PlaceOS::Driver::Subscriptions::ChannelSubscription, String -> Nil) : PlaceOS::Driver::Subscriptions::ChannelSubscription #

[View source]
def clear : Nil #

[View source]
def logger : PlaceOS::Driver::Log | Nil #

[View source]
def subscribe(system_id, module_name, index, status, &callback : PlaceOS::Driver::Subscriptions::IndirectSubscription, String -> Nil) : PlaceOS::Driver::Subscriptions::IndirectSubscription #

[View source]
def subscribe(module_id, status, &callback : PlaceOS::Driver::Subscriptions::DirectSubscription, String -> Nil) : PlaceOS::Driver::Subscriptions::DirectSubscription #

[View source]
def unsubscribe(subscription : PlaceOS::Driver::Subscriptions::Subscription) #

[View source]