org.jgroups.protocols.pbcast
Class MergeData

java.lang.Object
  extended by org.jgroups.protocols.pbcast.MergeData

public class MergeData
extends java.lang.Object

Encapsulates data sent with a MERGE_RSP (handleMergeResponse()) and INSTALL_MERGE_VIEW (handleMergeView()).

Note that since MergeData is never sent across the network, it doesn't need to be Streamable.

Author:
Bela Ban Oct 22 2001

Field Summary
protected  Digest digest
           
protected  boolean merge_rejected
           
protected  Address sender
           
protected  View view
           
 
Constructor Summary
MergeData(Address sender, View view, Digest digest)
           
MergeData(Address sender, View view, Digest digest, boolean merge_rejected)
           
 
Method Summary
 Digest getDigest()
           
 Address getSender()
           
 View getView()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sender

protected final Address sender

merge_rejected

protected final boolean merge_rejected

view

protected final View view

digest

protected final Digest digest
Constructor Detail

MergeData

public MergeData(Address sender,
                 View view,
                 Digest digest,
                 boolean merge_rejected)

MergeData

public MergeData(Address sender,
                 View view,
                 Digest digest)
Method Detail

getSender

public Address getSender()

getView

public View getView()

getDigest

public Digest getDigest()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.