rle.core.event
Class MessageQueue

java.lang.Object
  extended by rle.core.vm.PlugInBase
      extended by rle.core.event.MessageQueue
All Implemented Interfaces:
PlugIn

public class MessageQueue
extends PlugInBase

A simple message queue.


Field Summary
 
Fields inherited from class rle.core.vm.PlugInBase
config, context, parameters
 
Constructor Summary
MessageQueue()
           
 
Method Summary
 void ackMessage(java.lang.String key, java.lang.Object... replacements)
           
 void addMessageQueueListener(MessageQueueListener cl)
           
 java.util.List<Message> history()
           
 void message(java.lang.String key, java.lang.Object... replacements)
           
 void post(Message m)
           
 void removeMessageQueueListener(MessageQueueListener cl)
           
 
Methods inherited from class rle.core.vm.PlugInBase
config, getContext, getParameters, paramMap, setConfig, setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageQueue

public MessageQueue()
Method Detail

post

public void post(Message m)

history

public java.util.List<Message> history()

message

public void message(java.lang.String key,
                    java.lang.Object... replacements)

ackMessage

public void ackMessage(java.lang.String key,
                       java.lang.Object... replacements)

addMessageQueueListener

public void addMessageQueueListener(MessageQueueListener cl)

removeMessageQueueListener

public void removeMessageQueueListener(MessageQueueListener cl)