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, wrongMethod
public ParticipantGmsImpl(GMS g)
public void leave(Address mbr)
public boolean handleJoin(Address mbr)
handleJoin
in class GmsImpl
public void handleLeave(Address mbr, boolean suspected)
handleLeave
in class GmsImpl
public void handleViewChange(ViewId new_view, java.util.Vector mbrs)
handleViewChange
in class GmsImpl
public View handleMerge(ViewId other_view, java.util.Vector other_members)
handleMerge
in class GmsImpl
public void handleSuspect(Address mbr)
handleSuspect
in class GmsImpl
Copyright ? 1998-2006 Bela Ban. All Rights Reserved.