sunlabs.brazil.template
Class QueueTemplate.QueueItem

java.lang.Object
  extended by 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 Summary
 Dictionary data
           
 String from
           
 String message
           
 String meta
           
 long timestamp
           
 
Constructor Summary
QueueTemplate.QueueItem(String from, Dictionary data)
           
QueueTemplate.QueueItem(String from, String message, String meta)
          Deprecated. Use the other constructor instead
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

timestamp

public long timestamp

from

public String from

data

public Dictionary data

message

public String message

meta

public String meta
Constructor Detail

QueueTemplate.QueueItem

public QueueTemplate.QueueItem(String from,
                               Dictionary data)

QueueTemplate.QueueItem

public QueueTemplate.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()
Overrides:
toString in class Object

Version Kenai-svn-r24, Generated 08/18/09
Copyright (c) 2001-2009, Sun Microsystems.