Class Adhearsion::VoIP::Asterisk::AMI::Parser
In: lib/adhearsion/voip/asterisk/ami/parser.rb
Parent: Object

Methods

new   receive   run   stop   wait  

Constants

BUFSIZE = 1024   Size of the scanner buffer

Attributes

events  [R] 
logger  [RW] 

Public Class methods

Public Instance methods

Receive an event packet from the event packet queue.

Run the scanner on the specified socket.

Stop the scanner.

Wait for any packets (including events) that have the specified Action ID. Do not stop waiting until all of the packets for the specified Action ID have been seen.

[Validate]