abstract struct Asterisk::ARI::Events::Event

Overview

Base type for asynchronous events from Asterisk.

Direct Known Subclasses

Defined in:

asterisk/ari/events/event.cr

Constructors

Instance Method Summary

Instance methods inherited from struct Asterisk::ARI::Events::Message

asterisk_id : String? asterisk_id, asterisk_id=(asterisk_id : String?) asterisk_id=, type : String type, type=(type : String) type=

Constructor methods inherited from struct Asterisk::ARI::Events::Message

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(pull : JSON::PullParser) #

Base type for asynchronous events from Asterisk.


[View source]

Instance Method Detail

def application : String #

Name of the application receiving the event.


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

Name of the application receiving the event.


[View source]
def timestamp : Time #

Time at which this event was created.


[View source]
def timestamp=(timestamp : Time) #

Time at which this event was created.


[View source]