Class QueueTemplate.QueueItem

java.lang.Object
sunlabs.brazil.template.QueueTemplate.QueueItem
Enclosing class:
QueueTemplate

public static class QueueTemplate.QueueItem extends Object
A bag of items to keep on the Q. We could add other stuff later.
  • Field Details

    • timestamp

      public long timestamp
    • from

      public String from
    • data

      public Dictionary data
    • message

      public String message
    • meta

      public String meta
  • Constructor Details

    • QueueItem

      public QueueItem(String from, Dictionary data)
    • QueueItem

      public QueueItem(String from, String message, String meta)
      Deprecated.
      Use the other constructor instead
      Add an item to the Q. "meta" is application specific "meta" data associated with this Q item.
  • Method Details