|
Query Cycle Simulator HEADER | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--qcsim.impl.QueryCycleManagerRun
Creates and initializes system components.
| Constructor Summary | |
QueryCycleManagerRun(int maxCycle)
Constructor |
|
| Method Summary | |
void |
description(PeerDescription desc)
Add a new peer description to this manager |
InitializationManager |
initializationManager()
There is no initialization manager for a saved simulation. |
PeerDescription |
peer(int peerID)
The peer description for peer with id peerID |
int |
peers()
The number of peers managed by this object. |
QueryCycleManager |
reset()
The manager reset to cycle 0; |
void |
save(java.lang.String filename)
Save the current simulation |
Simulator |
simulator()
The simulator used to update the current cycle. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public QueryCycleManagerRun(int maxCycle)
maxCycle - The maximum number of cycles simulated during this run.| Method Detail |
public InitializationManager initializationManager()
initializationManager in interface QueryCycleManagerpublic Simulator simulator()
simulator in interface QueryCycleManagerpublic int peers()
peers in interface QueryCycleManagerpublic PeerDescription peer(int peerID)
peer in interface QueryCycleManagerpeerID - The peer's id.
public void save(java.lang.String filename)
save in interface QueryCycleManagerfilename - file name to save simulation underpublic QueryCycleManager reset()
reset in interface QueryCycleManagerpublic void description(PeerDescription desc)
desc - The peer's description.
|
Query Cycle Simulator HEADER | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||