sunlabs.brazil.template
Class QueueTemplate.QueueItem
java.lang.Object
sunlabs.brazil.template.QueueTemplate.QueueItem
- Enclosing class:
- QueueTemplate
public static class QueueTemplate.QueueItem
- extends java.lang.Object
A bag of items to keep on the Q.
We could add other stuff later.
Constructor Summary |
QueueTemplate.QueueItem(java.lang.String from,
java.util.Dictionary data)
|
QueueTemplate.QueueItem(java.lang.String from,
java.lang.String message,
java.lang.String meta)
Deprecated. Use the other constructor instead |
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
timestamp
public long timestamp
from
public java.lang.String from
data
public java.util.Dictionary data
message
public java.lang.String message
meta
public java.lang.String meta
QueueTemplate.QueueItem
public QueueTemplate.QueueItem(java.lang.String from,
java.util.Dictionary data)
QueueTemplate.QueueItem
public QueueTemplate.QueueItem(java.lang.String from,
java.lang.String message,
java.lang.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.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object