|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ecash.internet.ECashBankState
Represents the state of an ECashBank object. It contains it's key ring (private and public keys) and the list of all the former desposited notes, in order to avoid that people use several times the same note. Such an object is meant to be stored on a hard-disk as a backup.
ECashBank
,
Serialized FormConstructor Summary | |
ECashBankState(KeyRing keyRing,
UsedNotesList usedNotesList)
Constructs an ECashBankState. |
Method Summary | |
KeyRing |
getKeyRing()
Gets the key ring. |
UsedNotesList |
getUsedNotesList()
Gets the object containing all the former desposited notes. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ECashBankState(KeyRing keyRing, UsedNotesList usedNotesList)
keyRing
- the key ringusedNotesList
- an object containing all the former desposited
notesMethod Detail |
public KeyRing getKeyRing()
public UsedNotesList getUsedNotesList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |