Uses of Interface
org.jgroups.MessageListener
-
Packages that use MessageListener Package Description org.jgroups Provides top-level public JGroups classes such as Channel, Message, etc.org.jgroups.blocks Provides building blocks that are layered on top of channels.org.jgroups.demos Provides demonstrations of JGroups functionality.org.jgroups.demos.wb A distributed whiteboard applet implemented using JGroups. -
-
Uses of MessageListener in org.jgroups
Subinterfaces of MessageListener in org.jgroups Modifier and Type Interface Description interface
ExtendedMessageListener
ExtendedMessageListener
has additional callbacks for: partial state transfer - http://jira.jboss.com/jira/browse/JGRP-118 streaming state transfer - http://jira.jboss.com/jira/browse/JGRP-89interface
ExtendedReceiver
Extends Receiver, plus the partial state transfer methods.interface
Receiver
Defines the callbacks that are invoked when messages, views etc are received on a channelClasses in org.jgroups that implement MessageListener Modifier and Type Class Description class
ExtendedReceiverAdapter
class
ReceiverAdapter
-
Uses of MessageListener in org.jgroups.blocks
Classes in org.jgroups.blocks that implement MessageListener Modifier and Type Class Description class
DistributedHashtable
Deprecated.UseReplicatedHashMap
insteadclass
DistributedQueue
Provides the abstraction of a java.util.LinkedList that is replicated at several locations.class
DistributedTree
A tree-like structure that is replicated across several members.class
MessageListenerAdapter
This class provides multiplexing possibilities forMessageListener
instances.class
NotificationBus
This class provides notification sending and handling capability.class
ReplicatedHashMap<K extends java.io.Serializable,V extends java.io.Serializable>
Subclass of aConcurrentHashMap
with replication of the contents across a cluster.class
ReplicatedHashtable
Deprecated.UseReplicatedHashMap
insteadclass
ReplicatedTree
A tree-like structure that is replicated across several members.class
VotingAdapter
Voting adapter provides a voting functionality for an application.Fields in org.jgroups.blocks declared as MessageListener Modifier and Type Field Description protected MessageListener
PullPushAdapter. listener
Deprecated.protected MessageListener[]
MessageListenerAdapter. messageListenersCache
protected MessageListener
MessageDispatcher. msg_listener
protected MessageListener
MessageListenerAdapter. stateListener
Methods in org.jgroups.blocks that return MessageListener Modifier and Type Method Description MessageListener
PullPushAdapter. getListener()
Deprecated.MessageListener
MessageDispatcher. getMessageListener()
Gives access to the currently configured MessageListener.Methods in org.jgroups.blocks with parameters of type MessageListener Modifier and Type Method Description void
MessageListenerAdapter. addMessageListener(MessageListener listener)
Add message listener to this adapter.void
PullPushAdapter. registerListener(java.io.Serializable identifier, MessageListener l)
Deprecated.Sets a listener to messages with a given identifier.void
MessageListenerAdapter. removeMessageListener(MessageListener listener)
Remove message listener from this adapter.void
PullPushAdapter. setListener(MessageListener l)
Deprecated.void
MessageDispatcher. setMessageListener(MessageListener l)
void
MessageListenerAdapter. setStateListener(MessageListener listener)
Registerlistener
for state notification events.Constructors in org.jgroups.blocks with parameters of type MessageListener Constructor Description MessageDispatcher(PullPushAdapter adapter, java.io.Serializable id, MessageListener l, MembershipListener l2)
MessageDispatcher(PullPushAdapter adapter, java.io.Serializable id, MessageListener l, MembershipListener l2, RequestHandler req_handler)
MessageDispatcher(PullPushAdapter adapter, java.io.Serializable id, MessageListener l, MembershipListener l2, RequestHandler req_handler, boolean concurrent_processing)
MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2)
MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2, boolean deadlock_detection)
MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2, boolean deadlock_detection, boolean concurrent_processing)
MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2, RequestHandler req_handler)
MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2, RequestHandler req_handler, boolean deadlock_detection)
MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2, RequestHandler req_handler, boolean deadlock_detection, boolean concurrent_processing)
MessageListenerAdapter(MessageListener mainListener)
Create instance of this class.PullPushAdapter(Transport transport, MessageListener l)
Deprecated.PullPushAdapter(Transport transport, MessageListener l, MembershipListener ml)
Deprecated.PullPushAdapter(Transport transport, MessageListener l, MembershipListener ml, boolean start)
Deprecated.RpcDispatcher(PullPushAdapter adapter, java.io.Serializable id, MessageListener l, MembershipListener l2, java.lang.Object server_obj)
RpcDispatcher(Channel channel, MessageListener l, MembershipListener l2, java.lang.Object server_obj)
RpcDispatcher(Channel channel, MessageListener l, MembershipListener l2, java.lang.Object server_obj, boolean deadlock_detection)
RpcDispatcher(Channel channel, MessageListener l, MembershipListener l2, java.lang.Object server_obj, boolean deadlock_detection, boolean concurrent_processing)
-
Uses of MessageListener in org.jgroups.demos
Classes in org.jgroups.demos that implement MessageListener Modifier and Type Class Description class
Chat
class
ChatCore
class
Draw
Shared whiteboard, each new instance joins the same group.class
QuoteServer
Example of a replicated quote server.class
ViewDemo
Demos the reception of views using a PullPushAdapter. -
Uses of MessageListener in org.jgroups.demos.wb
Classes in org.jgroups.demos.wb that implement MessageListener Modifier and Type Class Description class
Whiteboard
Shared whiteboard: members are represented by rectangles that contain their names and the OS/arch of the machine they are working on.
-