|
||||||||||
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.InstallAck
public final class InstallAck
The DeliveryAck
class represents a local message
exchanged between members and the daemon; it is used by the member
to notify the daemon that a view has been successfully 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 | |
---|---|
InstallAck()
Default constructor for externalization. |
|
InstallAck(int gid,
int memberIndex)
Creates an InstallAck object storing the local
identifier of the last installed view, and the member's
position index in the array containing the view members. |
Method Summary | |
---|---|
int |
getMemberIndex()
Returns the position index of the member generating this InstallAck
event in the array containing the members of the last installed view. |
void |
readExternal(java.io.ObjectInput in)
Restores the content of this object from the marshalled data contained in the specified input stream. |
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, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstallAck()
public InstallAck(int gid, int memberIndex)
InstallAck
object storing the local
identifier of the last installed view, and the member's
position index in the array containing the view members.
gid
- group identifiermemberIndex
- index of the member position in the
array containing the members of the last installed viewlastInstalled
- local identifier of the last installed
viewMethod Detail |
---|
public int getMemberIndex()
InstallAck
event in the array containing the members of the last installed view.
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class Event
in
- 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.Externalizable
writeExternal
in class Event
out
- the stream to be written
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |