universal
Class UniversalClientCrashStop

java.lang.Object
  |
  +--universal.UniversalClient
        |
        +--universal.UniversalClientCrashStop

public class UniversalClientCrashStop
extends UniversalClient

This subclass implements the crash stop model in the client side.

It is instantiated by the client application
It instantiates the object LeaderCrashStopClient useful for the leader election part.


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

UniversalClientCrashStop

public 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.

Parameters:
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

initializeTasks

public void initializeTasks()
Instantiate the LeaderCrashStopClient (useful for the leader election).

Specified by:
initializeTasks in class UniversalClient