|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--universal.UniversalClient | +--universal.UniversalClientCrashStop
This subclass implements the crash stop model in the client side.
Field Summary |
Fields inherited from class universal.UniversalClient |
add, add1, clientAnnounce, lead, port, receiverClient, serverNameFile, serverSocket, t, totalDel, waiting |
Constructor Summary | |
UniversalClientCrashStop(java.lang.String serverNameFile)
The client instantiates one object universalClientCrashStop by group of replicated servers that it wants to acces because for example it needs to know who is the leader for each group. |
Method Summary | |
void |
initializeTasks()
Instantiate the LeaderCrashStopClient (useful for the leader election). |
Methods inherited from class universal.UniversalClient |
initializeUniversal, startTasks |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UniversalClientCrashStop(java.lang.String serverNameFile)
serverNameFile
- The name of the file which contains the list of the name of each host where
the replicated servers are running and their associated pid.Method Detail |
public void initializeTasks()
initializeTasks
in class UniversalClient
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |