class Tempest::Listen

Defined in:

tempest/listen.cr

Constant Summary

TYPES = {"listen_start", "listen_stop", "listen_start_events", "listen_stop_events", "listen_rapid_start", "listen_rapid_stop", "ack"}

Constructors

Instance Method Summary

Instance methods inherited from class Tempest::Event

device_id device_id, device_id=(device_id : Int64 | Nil) device_id=, station_id : Int64 | Nil station_id, station_id=(station_id : Int64 | Nil) station_id=, type : String type, type=(type : String) type=

Constructor methods inherited from class Tempest::Event

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(type : String, id : String, device_id : Int64 | Nil = nil, station_id : Int64 | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def id : String #

[View source]
def id=(id : String) #

[View source]
def subscription_id : String #

[View source]