sunlabs.brazil.template

Class QueueTemplate.QueueItem

public static class QueueTemplate.QueueItem extends Object

A bag of items to keep on the Q. We could add other stuff later.
Field Summary
Dictionarydata
Stringfrom
Stringmessage
Stringmeta
longtimestamp
Constructor Summary
QueueItem(String from, Dictionary data)
QueueItem(String from, String message, String meta)
Add an item to the Q.
Method Summary
StringtoString()

Field Detail

data

public Dictionary data

from

public String from

message

public String message

meta

public String meta

timestamp

public long timestamp

Constructor Detail

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 Detail

toString

public String toString()