Class: SimpleMailBox

SimpleMailBox

SimpleMailBox is a simple no bacchanal MailBox. Nothing special but enqueue and dequeue behaviour.

Constructor

new SimpleMailBox(enqueueListener)

Parameters:
Name Type Description
enqueueListener EnqueueListener

The EnqueueListener that will be notified.

Implements:
Source:

Methods

dequeue() → {Envelope}

dequeue furnishes the next message to be processed.

Implements:
Source:
Returns:
Type
Envelope

enqueue(to, from, message)

enqueue puts a message into the queue and alerts the listener of the change. Messages may be stringified for remote storage.

Parameters:
Name Type Description
to Concern
from Reference
message *
Implements:
Source: