Logo Search packages:      
Sourcecode: libjgroups-java version File versions

org::jgroups::MembershipListener Interface Reference

Inheritance diagram for org::jgroups::MembershipListener:

org::jgroups::blocks::DistributedLockManager org::jgroups::blocks::DistributedQueue org::jgroups::blocks::DistributedTree org::jgroups::blocks::MembershipListenerAdapter org::jgroups::blocks::PullPushShunTest org::jgroups::blocks::ReplicatedHashtable org::jgroups::blocks::ReplicatedTree org::jgroups::blocks::VotingAdapter org::jgroups::demos::QuoteClient org::jgroups::demos::QuoteServer org::jgroups::demos::Topology org::jgroups::demos::wb::Whiteboard org::jgroups::ExtendedMembershipListener org::jgroups::Receiver org::jgroups::tests::GroupRequestPull org::jgroups::tests::MessageDispatcherShunTest org::jgroups::tests::MessageDispatcherSpeedTest org::jgroups::tests::PerfTest org::jgroups::tests::RpcDispatcherBlocking org::jgroups::tests::RpcDispatcherMultiplexerTest org::jgroups::tests::RpcDispatcherShunTest org::jgroups::tests::RpcDispatcherSpeedTest org::jgroups::tests::RpcDispatcherStressTest

List of all members.


Detailed Description

Allows a listener to be notified when group membership changes. These callbacks are used in org.jgroups.blocks.PullPushAdapter.

The MembershipListener interface is similar to the MessageListener interface: every time a new view, a suspicion message, or a block event is received, the corresponding method of the class implementing MembershipListener will be called. Oftentimes the only method containing any functionality will be viewAccepted() which notifies the receiver that a new member has joined the group or that an existing member has left or crashed.

Definition at line 19 of file MembershipListener.java.


Public Member Functions

void block ()
void suspect (Address suspected_mbr)

Package Functions

void viewAccepted (View new_view)

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index