sunlabs.brazil.template
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 Summary
 String from
           
 String message
           
 String meta
           
 long timestamp
           
 
Constructor Summary
QueueTemplate.QueueItem(String from, String message, String meta)
          Add an item to the Q.
 
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

message

public String message

meta

public String meta
Constructor Detail

QueueTemplate.QueueItem

public QueueTemplate.QueueItem(String from,
                               String message,
                               String meta)
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 2.1, Generated 12/30/04
Copyright (c) 2001-2004, Sun Microsystems.