public class ParticipantGmsImpl extends GmsImpl
| Constructor and Description |
|---|
ParticipantGmsImpl(GMS g) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handleJoin(Address mbr) |
void |
handleLeave(Address mbr,
boolean suspected) |
View |
handleMerge(ViewId other_view,
java.util.Vector other_members) |
void |
handleSuspect(Address mbr) |
void |
handleViewChange(ViewId new_view,
java.util.Vector mbrs)
If we are leaving, we have to wait for the view change (last msg in the current view) that
excludes us before we can leave.
|
void |
init() |
void |
join(Address mbr) |
void |
leave(Address mbr)
Loop: determine coord.
|
void |
merge(java.util.Vector other_coords) |
void |
suspect(Address mbr) |
handleDownEvent, handleUpEvent, iWouldBeCoordinator, wrongMethodpublic ParticipantGmsImpl(GMS g)
public void leave(Address mbr)
public boolean handleJoin(Address mbr)
handleJoin in class GmsImplpublic void handleLeave(Address mbr, boolean suspected)
handleLeave in class GmsImplpublic void handleViewChange(ViewId new_view, java.util.Vector mbrs)
handleViewChange in class GmsImplpublic View handleMerge(ViewId other_view, java.util.Vector other_members)
handleMerge in class GmsImplpublic void handleSuspect(Address mbr)
handleSuspect in class GmsImplCopyright ? 1998-2006 Bela Ban. All Rights Reserved.