## 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.blocks.mux |
org.jgroups.demos | Provides demonstrations of JGroups functionality.
org.jgroups.demos.wb | A distributed whiteboard applet implemented using JGroups.
org.jgroups.protocols | Provides implementations of transport protocols which are responsible for sending and receiving messages to/from the network.
org.jgroups.util | Provides useful functionality which cannot be assigned to any particular other package.

### Uses of MessageListener in org.jgroups

Subinterfaces of MessageListener in org.jgroups
Modifier and Type | Interface and 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-89
`interface` | `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 channel

Classes in org.jgroups that implement MessageListener
Modifier and Type | Class and Description
--- | ---
`class` | `ExtendedReceiverAdapter`
`class` | `ReceiverAdapter`

### Uses of MessageListener in org.jgroups.blocks

Classes in org.jgroups.blocks that implement MessageListener
Modifier and Type | Class and Description
--- | ---
`class` | `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 for `MessageListener` instances.
`class` | `NotificationBus` Deprecated. Will be pulled in 3.0, use a JChannel directly instead
`class` | `ReplicatedHashMap<K extends Serializable,V extends Serializable>` Subclass of a `ConcurrentHashMap` with replication of the contents across a cluster.
`class` | `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 and 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 and 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 and 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)` Register `listener` for state notification events.

Constructors in org.jgroups.blocks with parameters of type MessageListener
Constructor and Description
`MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2)`
`MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2, boolean deadlock_detection)` Deprecated.
`MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2, boolean deadlock_detection, boolean concurrent_processing)` Deprecated.
`MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2, RequestHandler req_handler)`
`MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2, RequestHandler req_handler, boolean deadlock_detection)` Deprecated.
`MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2, RequestHandler req_handler, boolean deadlock_detection, boolean concurrent_processing)` Deprecated.
`MessageDispatcher(PullPushAdapter adapter, java.io.Serializable id, MessageListener l, MembershipListener l2)` Deprecated.
`MessageDispatcher(PullPushAdapter adapter, java.io.Serializable id, MessageListener l, MembershipListener l2, RequestHandler req_handler)` Deprecated.
`MessageDispatcher(PullPushAdapter adapter, java.io.Serializable id, MessageListener l, MembershipListener l2, RequestHandler req_handler, boolean concurrent_processing)` Deprecated.
`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(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)` Deprecated.
`RpcDispatcher(Channel channel, MessageListener l, MembershipListener l2, java.lang.Object server_obj, boolean deadlock_detection, boolean concurrent_processing)` Deprecated.
`RpcDispatcher(PullPushAdapter adapter, java.io.Serializable id, MessageListener l, MembershipListener l2, java.lang.Object server_obj)` Deprecated.

### Uses of MessageListener in org.jgroups.blocks.mux

Constructors in org.jgroups.blocks.mux with parameters of type MessageListener
Constructor and Description
`MuxMessageDispatcher(short scopeId, Channel channel, MessageListener messageListener, MembershipListener membershipListener, RequestHandler handler)`
`MuxRpcDispatcher(short scopeId, Channel channel, MessageListener messageListener, MembershipListener membershipListener, java.lang.Object serverObject)`

### Uses of MessageListener in org.jgroups.demos

Classes in org.jgroups.demos that implement MessageListener
Modifier and Type | Class and Description
--- | ---
`class` | `Draw` Shared whiteboard, each new instance joins the same group.
`class` | `QuoteServer` Example of a replicated quote server.
`class` | `RelayDemoRpc` Demos RELAY.
`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 and 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.

### Uses of MessageListener in org.jgroups.protocols

Classes in org.jgroups.protocols that implement MessageListener
Modifier and Type | Class and Description
--- | ---
`protected class` | `RELAY.Receiver`

### Uses of MessageListener in org.jgroups.util

Classes in org.jgroups.util that implement MessageListener
Modifier and Type | Class and Description
--- | ---
`class` | `MyReceiver` Simple receiver which buffers all messages