|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjgroup.relacs.events.Event
jgroup.relacs.events.PrepareAck
public final class PrepareAck
The PrepareAck class represents a local message
exchanged between members and the daemon; it is used by local
members to notify the daemon that it has notified its membership
listener(s) that a new view is to be installed.
| Field Summary |
|---|
| Fields inherited from class jgroup.relacs.events.Event |
|---|
gid, tag |
| Fields inherited from interface jgroup.relacs.events.EventTags |
|---|
DAEMON_FAILURE_EVENT, DELIVERY_ACK, DELIVERY_EVENT, INSTALL_ACK, INSTALL_EVENT, JOIN_REQUEST, LEAVE_REQUEST, MEMBER_LEFT_EVENT, MULTICAST_REQUEST, PREPARE_ACK, PREPARE_EVENT |
| Constructor Summary | |
|---|---|
PrepareAck()
Default constructor for externalization. |
|
PrepareAck(int gid,
MemberId member)
Creates a PrepareAck object for the specified group
identifier. |
|
| Method Summary | |
|---|---|
MemberId |
getMemberId()
Returns the member identifier for the member acknowledging the prepare event. |
void |
readExternal(java.io.ObjectInput in)
Restores the content of this object from the marshalled data contained in the specified input stream. |
java.lang.String |
toString()
|
void |
writeExternal(java.io.ObjectOutput out)
Marshals the content of this object to the specified output stream. |
| Methods inherited from class jgroup.relacs.events.Event |
|---|
getGid, getTag |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PrepareAck()
public PrepareAck(int gid,
MemberId member)
PrepareAck object for the specified group
identifier.
| Method Detail |
|---|
public MemberId getMemberId()
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class Eventin - the stream to be read
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class Eventout - the stream to be written
java.io.IOExceptionpublic java.lang.String toString()
toString in class Event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||