|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthings.common.Stamp
public class Stamp
A immutable stamp. It is an ID, time, and token identifier. This is safe within this system only. Do
not use this for security.
Version History
EPG - Initial - 13 OCT 04
| Constructor Summary | |
|---|---|
Stamp()
Default constructor. |
|
Stamp(WhoAmI callerID,
java.lang.String theToken)
Construct with an imposed ID. |
|
| Method Summary | |
|---|---|
long |
getTimestamp()
Get the time stamp. |
java.lang.String |
toString()
Get a string version of the stamp. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Stamp()
throws ThingsException
ThingsExceptionThingsException
public Stamp(WhoAmI callerID,
java.lang.String theToken)
throws ThingsException
callerID - The WhoAmI for the caller.theToken - Any string token the creator wants to pass.
ThingsExceptionWhoAmI| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic long getTimestamp()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||