|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--universal.UniversalClient
This class is the superclass of the class UniversalClientCrashStop which is instantiated by the client application.
Field Summary | |
java.net.InetAddress |
add
|
(package private) java.net.InetAddress |
add1
|
universal.messagein.ClientAnnounce |
clientAnnounce
Sends Corba message to the replicated servers to inform them on which port the client is listenning |
universal.leader.LeaderCrashStopClient |
lead
Object which treats the leader election in the client side |
int |
port
|
universal.communication.ReceiverClient |
receiverClient
Object which waits for message comming to the socket |
java.lang.String |
serverNameFile
The name of the file which contains the list of the name of the host on which are the others replicated servers and their associated pid. |
java.net.ServerSocket |
serverSocket
|
private java.util.Date |
startTime
|
(package private) java.lang.Thread |
t
|
int |
totalDel
|
boolean |
waiting
|
Constructor Summary | |
UniversalClient(java.lang.String serverNameFile)
|
Method Summary | |
private static java.net.InetAddress |
getLocalInetAddress()
|
abstract void |
initializeTasks()
|
void |
initializeUniversal()
Look for a port free to listen. |
void |
startTasks()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Date startTime
public int totalDel
public universal.communication.ReceiverClient receiverClient
public universal.leader.LeaderCrashStopClient lead
public universal.messagein.ClientAnnounce clientAnnounce
public final java.net.InetAddress add
java.net.InetAddress add1
public int port
public boolean waiting
public java.net.ServerSocket serverSocket
public java.lang.String serverNameFile
java.lang.Thread t
Constructor Detail |
public UniversalClient(java.lang.String serverNameFile)
Method Detail |
private static java.net.InetAddress getLocalInetAddress()
public void initializeUniversal()
public abstract void initializeTasks()
public void startTasks()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |